5 Comments

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

Expand full comment

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

Expand full comment

Nice use case and one I may adopt 😅

Expand full comment

Thank you! Definitely quite a niche API

Expand full comment

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