Day 92 of 100 Days of SwiftUI: Layout & Geometry

Started working my way through and understanding SwiftUI layout and geometry. It’s amazing what can be done with it once we understand the principles behind it. Paul’s insights and teaching style are clear and simply amazing to follow. Here’s a key point from what I learned today about SwiftUI layout:

https://www.hackingwithswift.com/100/swiftui/92

1. A parent view proposes a size for its child.

2. Based on that information, the child then chooses its own size and the parent must respect that choice.

3. The parent then positions the child in its coordinate space.