Landscape!
Check out the new .onLayoutForSizeClass
modifier!
With .onLayoutForSizeClass
you can update your state variables to layout your drawer for landscape.
Resting heights are now binding!
This means you can keep a state variable to contain your view heights. Instead of using the old .locked
modifier, just change the resting heights parameter to a single height.
New Documentation Layout
The Readme is more concise, but it now contains links to other markdown files for Examples and Reference.