Buckets of Code
summary
Claims that moving view layout into UI subclasses, introducing a coordinator to own navigation and dependencies, and extracting a data manager + API client reduces bloated controllers and makes code testable and reusable. Demonstrates building a profile screen in Swift and storyboard, subclassing UIViews and UIButtons, using protocol extensions and UIResponder bubbling, and connecting Core Data sync. Shows controllers shrinking from thousands of lines into thin coordinators and view actors that actually work.
AI-written summary · about
chapters (9)
- 0:00Start
- 0:17Model View Controller
- 3:31Example App
- 7:17View Controller Flow
- 9:16Flow Controller
- 11:59Coordinator Pattern
- 13:13Navigation Controller
- 13:39Extract View Controller
- 15:32Rethink the Problem
related talks
43mRefactoring a Massive View Controller in Swift
17mMVC: Many View Controllers
21mOptimizing Swift code for separation of concerns and simplicity
31m5 Steps to Better SwiftUI Views
27mBoundaries in Practice
42mWriting Code for Humans, Not Computers
46mPreviews and Package Oriented Programming
26mDesign of Everyday Swift
