SplitView
SplitView copied to clipboard
A flexible way to split SwiftUI views with a draggable splitter
I believe these splitter specs are reasonably close to the iOS system default: bar color: Color.secondary.opacity(colorScheme == .dark ? 0.7 : 0.5) bar thickness: 5 bar invisible thickness (but also...
Hi. I have a custom splitter where in the middle there's a drag icon (three lines) and on the right a button to collapse down or return back. I must...
Currently splitter supports dragging, and it's possible to program hiding to a separate button. But a common affordance is tapping on a splitter to hide/unhide. It would make sense to...
Hi, very good solution for splitting views. Can you help to understand one thing about animation. How can I animate fraction value? For example on button tap, animate splitting. Code...
The custom cursor was not displayed correctly when hovering the splitter. I'm not a Swift expert at all but I managed to make it work with this modifier.
I'm evaluating this library and I found a problem when trying to put a Map (SwiftUI) into the Top view on a VSplit. I've reproduced it by adding a Map...
Split.swift: ```diff *** Split.swift-old 2024-10-09 14:50:59.622048883 +0400 --- Split.swift-new 2024-10-09 16:00:36.372341071 +0400 *************** *** 99,105 **** } .clipped() // Can cause problems in some List styles if not clipped .environmentObject(layout)...