VerticalSplit
This package is heavily inspired by the splitscreen impelementation from the Amie iOS app.
Usage
Mini Overlays
Add custom content to show when the top or bottom views are in their smallest size.
SplitDetent Binding
Use a binding to control the split between the top and bottom views.
Accessories
Use the leadingAccessories
and trailingAccessories
modifiers to add buttons in the drag region.
Menu Accessories
Use the menuAccessories
modifier to add buttons in a pop-out menu un the drag region.
Background Color
Set the background color for the top and bottom view containers, as well as the menu buttons,
Debugging
Control whether or not logs are made for debugging.