Archive
All articles
Every article on Bitesize Swift, ordered from newest to oldest.
March 2026
-
Understanding PreferenceKey in SwiftUI
How PreferenceKey lets child views communicate information back up the view tree.
-
Understanding Swift Ownership
Borrowing, consuming, and why Swift's ownership model matters.
-
Actor Isolation Essentials
A practical mental model for protected state and cross-actor calls in Swift.
-
SwiftData Query Design Basics
Structure SwiftData queries so the fetch logic stays predictable as your models evolve.
-
Sendable in Practice
When Swift asks for Sendable and how to satisfy it cleanly.
-
Swift Testing Traits Overview
Use traits deliberately so Swift Testing communicates intent instead of just decorating test code.
-
Task Group Patterns
Running parallel async work in Swift with structured concurrency.
-
Error Handling Patterns in Swift
A compact guide to throws, Result, and typed domain errors.
-
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.