How to Use the SwiftUI Layout System

Mark van Wijnen
9 min readOct 7, 2020

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 the…

--

--

Mark van Wijnen

macOS/iPadOS/iOS/watchOS/visionOS developer and SwiftUI enthousiast. “Stay Hungry, Stay Foolish!” — Steve Jobs