Introducing the SwiftUI Layout System

You might easily be tempted to take this topic for granted, especially if you came from an UIKit/AppKit background, and directly dive into the SwiftUI toolkit, but that would be a mistake.

The layout system for SwiftUI works very different than how it worked before in UIKit/AppKit. If you do not take the time to fully understand how the layout system works you will end up fighting to achieve even…