Deep Dive into Storyboard
summary
Shows concrete practices for continuing to use UIKit Storyboards while adopting SwiftUI incrementally, including using UIHostingController with IBSegueAction (note iOS 13+ behavior and init-order differences on older OSes). Explains enabling state restoration via restoration IDs and encode(with:)/init(coder:), splitting storyboards for OS-specific or localized flows, using First Responder for a unified Undo/Redo button, extracting reusable NSObject components (sound/haptic/network) wired from Interface Builder, and using outlet collections and a UIControl blink detector to handle multiple delegates and accessibility.
AI-written summary · about
chapters (12)
- 0:00Storyboard introduction
- 1:23UI hosting controller
- 2:52Implementing restore
- 6:59Splitting Storyboard
- 7:43Localization in Interface Builder
- 9:18First responder and undo
- 10:19UI for OS versions
- 11:53Size classes layout
- 14:04Sample app demo
- 16:38Outlet collections and delegates
- 18:04Custom UI controls
- 19:07Storyboard use cases








