Using State Machines in SwiftUI — Fast, Simple, and Convenient
summary
Shows how to implement State Machine (finite-state machines) in iOS apps built with SwiftUI and Combine. Presents methodology and code examples, including Unidirectional Data Flow designs, to create screens that are easier to test and maintain.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 3:08Mobile development at Skyeng
- 7:04Path to SwiftUI and state machines
- 9:52MVVM overview and flaws
- 13:26MVVM problems without bindings
- 15:10SwiftUI and Combine: new features
- 18:20What are state machines
- 20:26State machine docs
- 22:34State machine implementation examples
- 24:00State machines in SwiftUI
- 27:12Unidirectional data flow in SwiftUI
- 28:57View type problems in SwiftUI
- 31:03Solving view type problems
- 33:32ViewBuilder and AnyView
- 35:20State and event management
- 36:02Feedbacks and reducers
- 37:28List screen implementation
- 41:02Coordinators in SwiftUI
- 44:13Coordinator implementation
- 46:42Working with lists and tabs
- 47:45SwiftNavigation library
- 51:40Summary and study materials
- 53:04Q&A
- 1:00:38Discussion and closing
related talks
24mLeveraging the Power of State Machines in Swift
49mWhy SwiftUI?
36mData flow in SwiftUI - from @State to @Observable...
42mThe Evolution of Presentation Patterns in SwiftUI
19mThe Art of Functional State Management for iOS Apps
03mSwiftUI Data Flow with Redux
31m5 Steps to Better SwiftUI Views
19mSwiftUI Data Flow with Redux
