Advanced Colors in iOS
summary
Recommends using P3 color space for wide‑gamut assets (about 25% larger than sRGB), defines a semantic colors system that cuts color experiment time dramatically, and shows concrete fixes: call UIColor(named:bundle:) when using asset catalogs across bundles and avoid Interface Builder baked values by applying overrides in viewDidAppear/viewDidLayout. Describes namespacing assets, syncing color JSON via CI (Jenkins/Travis or Slack hooks), using Decodable + property observers for dynamic colors, and checks like Stark/Smoke and contrast ≥4.5:1 for accessibility.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:37Color Specification
- 4:13Picking Colors
- 6:57Semantic Colors
- 13:55Named Colors
- 15:43Name Spacing
- 17:57Dynamic Colors
- 20:55Collaboration Techniques
- 24:39Conclusion
related talks
28mArchitecting a Robust Color System with Swift
30mExtending UIColor to Support Custom Styling
21mDeep dive into the UIColor family
42m“The Interaction of Color Systems”
32mInteraction of color systems
18mBuilding dark mode with React Native at scale
26mAnatomy of Dynamic Color
47mPixel perfect is dead, long live to adaptive and accessible iOS apps
