TCA: Path towards Building Better SwiftUI Apps
summary
Explains how The Composable Architecture (TCA) replaces ad hoc SwiftUI state with a single source of truth using Store, State, Action enums, Reducers and Effects, showing a GitHub API client simulator that lists repos, opens detail screens, favorites persist, and navigates via a navigation stack store; uses IdentifiedArray for child domains, a repository client dependency, and TestStore unit tests that run and verify actions and state changes; notes TCA has ~9k stars and ~30k clones biweekly and promotes testable side effects.
AI-written summary · about
chapters (10)
- 0:00Introduction to TCA
- 1:08Architecture and state
- 3:39TCA core concepts
- 7:05Building the detail screen
- 14:53Implementing row features
- 17:35List and API integration
- 25:45Root navigation and state
- 29:21Testing with TCA
- 34:05Takeaways and resources
- 35:44Q&A session
related talks
35mA Crash Course of The Composable Architecture
35mWhy "The Composable Architecture" Matters for iOS App Development
43mA Newbie's Guide to The Composable Architecture
40mFunctional iOS Architecture in the SwiftUI Era
49mWhy SwiftUI?
21mSwiftUI & Redux
25mPrepping For a SwiftUI Future
19mThe Art of Functional State Management for iOS Apps
