5 Comments
User's avatar
Alex Simpson's avatar

Your link to the Github repo at the end doesn't seem to be working!

Expand full comment
Jacob Bartlett's avatar

Probably would have been good if I made the repo public 🥲 try now!

Expand full comment
Lucas Derraugh's avatar

Nice use case and one I may adopt 😅

Expand full comment
Jacob Bartlett's avatar

Thank you! Definitely quite a niche API

Expand full comment
Mirko Tomic's avatar

In iOS 18 you can do this with new containers API, view builder is now iterable, but your implementation will probably work in more iOS versions.

https://developer.apple.com/documentation/SwiftUI/Creating-custom-container-views

Expand full comment