Collection
SwiftUI
Layout, interaction, navigation, and the decisions that make SwiftUI interfaces feel calm and intentional.
Fresh reading
Latest in SwiftUI
Every article in this collection, using the same layout and reading rhythm as the main homepage.
-
Understanding PreferenceKey in SwiftUI
How PreferenceKey lets child views communicate information back up the view tree.
-
NavigationStack Routing Basics
Build predictable, data-driven navigation flows in SwiftUI.
-
StateObject vs ObservedObject
When to own an observable object and when to observe one.
-
ViewThatFits for Adaptive Layouts
Let SwiftUI pick the first layout that fits available space.
-
SwiftUI Animation Composition
Build coherent transitions by composing animation intent.
-
FocusedState Basics in SwiftUI
Move focus deliberately through forms and keyboard-driven flows.
-
PhaseAnimator Overview
Build richer staged motion without scattering animation logic everywhere.
-
Content Margins Guide
Use content margins to make layouts feel more intentional across devices.
-
Scroll Target Behavior
Make scroll interactions feel intentional with better snapping and targeting.
-
SceneStorage Notes
Preserve small pieces of scene-specific state without overbuilding persistence.
-
Safe Area Insets Explained
Understand when to respect, ignore, or extend into the safe area.
-
Alignment Guides Primer
Reach for alignment guides when stacks stop being expressive enough.
-
Sensory Feedback Patterns
Use haptics and sensory feedback with enough restraint to feel premium.
-
Toolbar Architecture in SwiftUI
Keep toolbar configuration close to feature intent rather than scattering it through views.
-
Environment Values Guide
Pass shared context through view hierarchies without turning everything into prop drilling.
-
Redaction Patterns in SwiftUI
Use redaction and loading placeholders without making the interface feel dead.