SwiftUI and DI
summary
Explains data flow and data-handling mechanisms in SwiftUI and how to integrate non-SwiftUI parts of an app. Compares dependency injection and service locator patterns and shows how to perform dependency injection specifically in SwiftUI.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 3:49Talk plan
- 5:13Monolithic dependencies problem
- 8:46What is DI and its benefits
- 11:34Dependency injection challenges
- 13:20DI with factories
- 14:02SwiftUI app entry point
- 17:53DI without frameworks
- 18:36SwiftUI and architecture layers
- 20:19ViewModel and SwiftUI binding issues
- 21:46ObservableObject in SwiftUI
- 24:55StateObject for dependencies
- 25:59ObservedObject and EnvironmentObject
- 28:47EnvironmentObject limitations
- 31:14What to store in DI container
- 37:40Summary and DI tips
- 38:21Q&A
related talks
43mDependency Injection Pattern for iOS App
28mSwiftUI for UIKit developers
19mPractical Structure to Configure Dependency Injection in Swift
03mSwiftUI Data Flow with Redux
41mAchieving Loose Coupling with Pure Dependency Injection
42mThe Evolution of Presentation Patterns in SwiftUI
49mWhy SwiftUI?
19mSwiftUI Data Flow with Redux
