Curated library

All resources

Articles, videos, books, WWDC sessions, and open-source projects selected for practical SwiftUI developers.

16 resources

Article Editor’s Pick

ContentBuilder Explained: The Secret Behind SwiftUI's Type-Checking Speedup

A deep dive into SwiftUI's new ContentBuilder in Xcode 27, explaining how changes to result builders, conditional conformance, and shared component APIs reduce the compiler's type-checking workload.

Why read: An excellent technical exploration of what ContentBuilder actually changes under the hood. The article goes beyond the new API to explain why deeply nested SwiftUI code can be expensive to type-check and how Apple's new design reduces overload resolution complexity.
Fatbobman Advanced · 18 min read
Article Editor’s Pick

Building Testable SwiftData Applications

Learn how to test SwiftData applications by focusing on business logic instead of framework behavior, using in-memory stores, meaningful unit tests, test helpers, and the new ResultsObserver API in iOS 27.

Why read: A practical guide to testing SwiftData applications with an emphasis on writing tests that protect real business rules. It also shows how ResultsObserver can move data-driven logic outside SwiftUI views and make it easier to test in isolation.
Mohammad Azam Intermediate · 20 min read
Live Event

SwiftUI Architecture Live #1: State Management

Join this free live session to explore practical state management techniques for building maintainable SwiftUI applications.

Why read: A live and interactive discussion focused on where state should live, how it should flow through a SwiftUI application, and how to avoid unnecessary architectural complexity.
Mohammad Azam Intermediate · 1 hour
Article Editor’s Pick

SwiftUI Is One Graph

A deep dive into SwiftUI's underlying execution model that argues SwiftUI is built around a single demand-driven graph rather than a diffed view tree, combining experimental observations with Apple's published patents.

Why read: If you've ever wondered what actually happens when SwiftUI updates your UI, this is one of the most fascinating deep dives available. It challenges common mental models and provides valuable insight into AttributeGraph and SwiftUI's runtime.
Mihaela Mihaljević Jakić Advanced · 35 min read
Article Editor’s Pick

The Hidden Cost of Unstable SwiftUI Environment Defaults

Learn why unstable default values created with SwiftUI's @Entry macro can trigger unnecessary view updates, and how to define stable environment defaults that improve performance.

Why read: An excellent explanation of a subtle Xcode 27 warning that many developers will overlook. Natalia demonstrates why creating reference types directly in @Entry defaults can invalidate dependent views and shows the recommended patterns for providing stable environment values.
Natalia Panferova Intermediate · 8 min read
Article Editor’s Pick

The Anatomy of a Reusable SwiftUI View

Learn how to design reusable SwiftUI components that feel native by following Apple's API conventions, modeling component semantics first, and using styles, environment values, and progressive disclosure to create flexible, maintainable APIs.

Why read: One of the best articles on designing reusable SwiftUI views. It goes beyond implementation details and explains the reasoning behind API design, data flow, customization, and component architecture.
Teabyte Intermediate · 18 min read
Article Editor’s Pick

Testing the Untestable: A Deep Dive into Apple's Evaluations Framework

Learn how to evaluate Foundation Models-powered features using Apple's new Evaluations framework, including datasets, evaluators, metrics, synthetic sample generation, and Swift Testing integration.

Why read: One of the first in-depth guides covering Apple's Evaluations framework introduced alongside Foundation Models improvements in Xcode 27 and iOS 27. It explains how to test probabilistic AI features using measurable evaluation metrics instead of traditional deterministic assertions.
Walid Sassi Advanced · 22 min read
Article

Syncing SwiftData with a Custom Backend Using HistoryObserver

A practical walkthrough of observing SwiftData history and sending local changes to a custom backend.

Why read: Useful for understanding one-way synchronization and the role persistent history plays in an offline-first workflow.
Mohammad Azam Advanced · 12 min read
Article

Splitting Large SwiftUI Views in Apple's Way

Learn why extracting SwiftUI subviews into separate View types improves performance and maintainability, when @ViewBuilder is appropriate, and why computed properties do not create new invalidation boundaries.

Why read: A practical deep dive into one of Apple's new Xcode 27 recommendations. Emre explains the difference between computed properties, @ViewBuilder, and extracted View types, showing how proper view decomposition can reduce unnecessary body evaluations while producing cleaner, more maintainable SwiftUI code.
Emre Degirmenci Advanced · 14 min read
Article

Building a Custom Data Store in SwiftData

Learn how to replace SwiftData's default SQLite store with a custom JSON-backed data store while continuing to use familiar APIs such as @Query, ModelContext, insert, delete, and save.

Why read: An in-depth exploration of one of SwiftData's most advanced capabilities. The article explains snapshots, the DataStore protocol, custom configurations, persistent identifiers, and the architecture required to build your own persistence layer.
Mohammad Azam Advanced · 25 min read
Book

The SwiftUI Way

A practical guide to building scalable SwiftUI applications by adopting recommended patterns, avoiding common anti-patterns, and understanding the framework's design principles.

Why read: One of the most authoritative SwiftUI books available. Written by former SwiftUI engineer Natalia Panferova, it focuses on the architectural decisions and trade-offs that matter in production applications.
Natalia Panferova Advanced · Book
Video

SwiftUI Essentials

A comprehensive introduction to SwiftUI that explains its declarative programming model, view composition, state management, animations, adaptive controls, and interoperability with UIKit, AppKit, and other Apple frameworks.

Why read: One of the best starting points for learning SwiftUI. Taylor explains the core mental model behind SwiftUI—declarative views, composition, and state—in a way that helps developers build a strong foundation before exploring more advanced topics.
Apple Beginner · 24 min
Article Editor’s Pick

Building Large-Scale Apps with SwiftUI: A Guide to Modular Architecture

Learn how to structure large SwiftUI applications using modular architecture, the MV pattern, aggregate stores, container/presentation views, navigation, validation, testing, and scalable application boundaries.

Why read: One of the most comprehensive articles on architecting large SwiftUI applications. It challenges common MVVM practices and presents an alternative architecture inspired by Apple's sample code and WWDC sessions.
Mohammad Azam Advanced · 45 min read
Book

Thinking in SwiftUI

Build a mental model of SwiftUI by understanding view trees, state, layout, animations, preferences, environment values, and the framework's core concepts.

Why read: A foundational SwiftUI book that explains how the framework works under the hood rather than simply teaching APIs. Highly recommended for developers who want to understand SwiftUI's design and behavior.
Chris Eidhof and Florian Kugler Intermediate · Book