πŸŽ™οΈ It's been a while since I did one of these, so let's go β€” reply and show me what you've been working on lately! Include a screenshot, link-out, and use the hashtag #showcase if you'd like to be boosted β€” assume the reader knows nothing about you or your projects. Remember you can edit posts if you forget something, and mute the hashtag for a period if you don't want to participate
@stroughtonsmith A bit late to the #showcase party, but I was cleaning up the demo and readme for my SplitView package. The `split` modifier makes it easy to split any two #swiftui views with a draggable splitter between, hide/show them, change their layout, and to customize the splitter. The project is available at https://github.com/stevengharris/SplitView.
GitHub - stevengharris/SplitView: A flexible way to split SwiftUI views with a draggable splitter

A flexible way to split SwiftUI views with a draggable splitter - stevengharris/SplitView

GitHub

@stevengharris is there a priority system so that if you drag the window larger it will resize the middle view for example? (In a 3 pane layout)

Sorry if this is answered in the project. Haven't had time to download it yet. Looks cool though!

@tapforms I found it made more sense to think about splitting two views and then being able to split either one of those two. As a result, the splitter is only resizing the two views it splits. If one of those is itself a split view in the same layout direction, it will resize its own split views retaining their relative proportions. This is easy to see in the β€œnested” demo, especially if you set the layouts to align.

@tapforms I realized I needed proper sidebar-type behavior, too, where you can specify a side to prioritize (stay fixed) on sizing. The newest version has this capability and includes a demo showing it. I hope I am done shaving this yak now! Enjoy.

https://github.com/stevengharris/SplitView/

GitHub - stevengharris/SplitView: A flexible way to split SwiftUI views with a draggable splitter

A flexible way to split SwiftUI views with a draggable splitter - stevengharris/SplitView

GitHub
@stevengharris @stroughtonsmith I can't wait for this to get used widely, but then most devs just hardcoding the dimensions of the views within and calling it a day, so you get empty areas, awkward scroll bars and cut off content.