Launching your app the swiftui way
summary
Shows that SwiftUI replaces the old app/scene delegate dance: Xcode 11–13 history, a tiny SwiftUI app that prints lifecycle transitions in the simulator, and a working demo of onChange hooked to scenePhase to observe active/inactive/background. Practical options for SDK init appear: use the App struct init or add a legacy delegate via UIApplicationDelegateAdaptor. Uses Xcode 12/13, Swift, SwiftUI, and the simulator; the demo proves the approach works.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:07Talk focus
- 1:52UIKit lifecycle Xcode 10
- 2:58Mixed UIKit SwiftUI Xcode 11
- 4:44SwiftUI lifecycle Xcode 12
- 6:12SwiftUI lifecycle Xcode 13
- 7:59Demo SwiftUI lifecycle events
- 13:03SDKs setup SwiftUI
- 13:44UIApplicationDelegateAdapter
- 17:18Summary
- 18:21SwiftUI vs app delegate
- 19:25Acknowledgments
- 20:27Resources
related talks
49mWhy SwiftUI?
16mSwiftUI API Design Lessons:Bridging Procedural APIs with theDeclarativeWorld
32mThe Art & Science of SwiftUI Animated Experiences
27mA 100% SwiftUI App
01h 13mSwiftUI — live coding declarative UI
17mBuilding and Launching a Modern SwiftUI SDK
30mEvolving Existing Projects With SwiftUI
32mSwiftUI in 25 Minutes
