~/talk

Mastering Auto Layout for iOS applications

Talkat Mobius 2019 Piter · 2019-05-22..05-23· [ios, ux-and-product-design]
links:none on file
slides:none on file

Builds a Simon‑style game board and fixes real bugs: a missing header constraint, ambiguous stack view distribution, and a setNeedsLayout loop that spikes CPU to ~90% and freezes the app. Uses a symbolic breakpoint to catch Auto Layout exceptions, inspects constraints with auto layout trace and the 3D view debugger, and demonstrates that the render loop ~120Hz makes updateConstraints churn lethal. Replaces manual constraint churn with stack views and containers, avoids removing constraints, and shows practical fixes (priority tuning, intrinsicContentSize overrides).

AI-written summary · about

  1. 0:00Introduction to Auto Layout
  2. 2:36Core Auto Layout concepts
  3. 7:12Debugging Auto Layout issues
  4. 13:39Fixing layout bugs in demo app
  5. 20:53Understanding churning in Auto Layout
  6. 22:43Debugging render loop performance
  7. 26:23Code vs Interface Builder choice
  8. 29:21Auto Layout tips and tricks
  9. 35:21Performance optimization techniques
  10. 38:41Summary and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.