~/talk

How I Learned To Stop Worrying and Love Autolayout

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

Shows concrete Xcode demos using Interface Builder and Auto Layout: a sample app of nested stack views inside a scroll view with collapsible sections driven by toggling hidden (works with simple UIView animations), explains size classes and Xcode 9 safe area, details debugging tips like setting a symbolic breakpoint and naming constraints via constraint identifiers, explains content hugging vs compression resistance numbers, recommends breaking large storyboards, using nibs for shared views, and warns about merge conflicts and over-constraining.

AI-written summary · about

  1. 0:00Intro
  2. 2:03What is Autolayout
  3. 2:52What not to do
  4. 4:07Thirdparty frameworks
  5. 4:52Xcode warnings
  6. 5:55Over constraining
  7. 7:53Massive Storyboard Syndrome
  8. 8:33Storyboard References
  9. 11:28Debugging
  10. 12:20What Xcode tells you
  11. 13:26Track down the offenders
  12. 17:45Constraint IDs
  13. 19:32Content Hugging Compression Resistance
  14. 20:24Xcode Demo
  15. 27:28Stack View Hierarchy
  16. 28:16Horizontal Stack View
  17. 29:05Stack View Properties
  18. 34:07Stack View Animation
  19. 37:03Size Classes
  20. 40:23Final Thoughts
~/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.