~/talk

Creating adaptable layouts using Trait Collections and Container Views

Talkat 360iDev 2017 · 2017-08-13..08-16· [frontend-architecture]
links:none on file
slides:none on file

Shows how Trait Collections plus Auto Layout and container views produce a single codebase that swaps between an iPhone single-column and an iPad master/detail; demonstrates overriding trait collections with overrideTraitCollection to force a compact width for embedded components. Builds a grid→detail demo, a custom zoom animator and presentation controller that becomes full‑screen on compact devices, and uses UIFontMetrics and custom fonts to scale for accessibility. Uses Xcode 9 features, asset catalog size‑class images, and a playground wrapper to validate layouts.

AI-written summary · about

  1. 0:00Intro
  2. 2:54Outline
  3. 3:25Adaptive Presentations
  4. 3:41Accessibility
  5. 4:06Apple Tools
  6. 5:05Design Layouts
  7. 6:16TraitCollection API
  8. 6:51TraitCollection Properties
  9. 7:45Size Classes
  10. 8:00Life Cycle
  11. 8:44Controller Containment
  12. 9:30Maps Example
  13. 10:54Adding Constraints
  14. 17:58Review
  15. 19:39Animator
  16. 22:49Presentation Controllers
  17. 26:35Font Metrics
  18. 31:12Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.