Swift You and I
A blog about SwiftUI and related Apple ecosystem technologies

That's a Wrap!: Horizontal line-wrapping stack

Source code | Run it in the app

Add randomly-sized boxes to the horizontal stack.

See the new items placed on the next line when space is unavailable.

Click on a box to remove it from the view.