"SwiftUI – goodbye (forever), UIKit?"
summary
SwiftUI demo shows concrete wins and limitations: uses Swift 5.1 features (opaque return types, property wrappers, function builders) and SF Symbols (~1500 icons) to build a card (image + title + subtitle), gradient background, stacks, modifiers, state toggles, gestures, transitions and a modal sheet that render instantly in live preview. Integration works both ways via UIHostingController and UIViewRepresentable. Claims: much less UIKit boilerplate, great for prototyping and composability, production-ready despite long builds, opaque errors and spotty docs after two months of experimentation.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:04SwiftUI introduction
- 6:38SwiftUI vs UIKit
- 7:00Live coding layout
- 12:50Simplified layouts
- 14:37Usability and scalability
- 17:28Lifecycle and events
- 20:41User events handling
- 21:02State management
- 25:19Animations in SwiftUI
- 27:48Navigation patterns
- 31:43Coexistence with UIKit
- 33:11Pros and cons
- 35:19Should you learn SwiftUI
- 36:24Summary and Q&A
