Small, focused articles about Swift, SwiftUI, and Apple platform development.
Topic
Articles grouped under Layout, ordered from newest to oldest.
How PreferenceKey lets child views communicate information back up the view tree.
Let SwiftUI pick the first layout that fits available space.
Use content margins to make layouts feel more intentional across devices.
Understand when to respect, ignore, or extend into the safe area.
Reach for alignment guides when stacks stop being expressive enough.