Reusable UI components with SwiftUI
summary
A team replaces a 50+ screen storyboard monolith with programmatic UI and builds a reusable component library using SwiftUI, Xcode 11 canvas and live previews to iterate visuals, accessibility and dark mode quickly. Components live in a separate framework (previously CocoaPods), now moving to Swift Package Manager for versioning. The workflow exposes pitfalls—visual similarity hides behavioral differences—so governance and designer-defined components matter. Major caveat: iOS 13+ requirement limits rollout.
AI-written summary · about
chapters (12)
- 0:00Introduction and background
- 1:11Team structure and legacy challenges
- 3:39UIKit limitations before SwiftUI
- 4:41SwiftUI benefits and demo setup
- 7:07Building a component with SwiftUI
- 12:28Mistakes in reusable components
- 14:55Redesign project and design specs
- 17:23Versioning and governance tips
- 19:13SwiftUI as collaboration tool
- 20:02Testing accessibility in SwiftUI
- 22:38Conclusion and SwiftUI verdict
- 23:43Q&A session








