Building component-driven UIs
summary
Claims a shift at Spotify from hand‑built view controllers to a model-driven system that already transforms most of the app UI, using Swift, UICollectionView layouts and chainable, NSOperation‑style content operations. Implements a generic component model plus protocol‑oriented components that return preferred sizes and layout traits, packaged as the open‑source hub framework and a hub live CLI; demo builds and edits a live UI from JSON in minutes and the approach works in production.
AI-written summary · about
chapters (18)
- 0:00Intro
- 7:50Componentdriven UIs
- 11:05Component Models
- 12:50ProtocolOriented Views
- 18:58Content Operations
- 20:33Shared Data Model
- 20:54Hub Framework
- 21:25Demo
- 22:41Adding images
- 25:34Adding cities again
- 26:20Creating a RowBuilder
- 27:07Creating a UserBuilder
- 28:11Testing the UserBuilder
- 29:04Building the Circular Component
- 32:28Updating the Image View
- 33:39Serializing Models
- 35:05Declarative API
- 36:43Wrap up
