Life Beyond Storyboards: Building your UI in code
summary
Shows how to delete storyboards, edit Info.plist, create a UIWindow, set rootViewController and call makeKeyAndVisible to boot a programmatic app and then registers table cells and pushes view controllers manually. Demonstrates Auto Layout with Visual Format (one string can create about 12 constraints), iOS 9 layout anchors to shrink boilerplate, intrinsicContentSize and estimatedRowHeight to get dynamic table cells to size correctly, and content hugging/compression priorities. Mentions SnapKit Masonry and PureLayout as helper libraries and gives concrete code patterns for stack views lazy subviews and registering cells.
AI-written summary · about
chapters (7)
- 0:00Start
- 19:37Cascading Sizes
- 21:04Visual Format
- 26:40Distribution
- 27:36Alignment
- 33:12Content Hugging Priority
- 33:43Content Compression Resistance
related talks
50mLet's Design UI the Right Way
46mPreviews and Package Oriented Programming
41mWhen You Can’t Go All In On SwiftUI, Build a Hybrid UI App Instead!
30mThe Lost Art of System Design
50mData-driven UI: Unlimited Power
46mScaling Up With SwiftUI: Migrating iOS Apps To SwiftUI
37mGrowing a Joyful Codebase from Legacy Code
20mBuilding a Mobile Design System
