~/talk

Autolayout? Oh boy

Talkat UIKonf 2013 · 2013-05-14..05-16· [ios]
links:none on file
slides:none on file

Explains how to stop thinking in frames and actually migrate Spring & Struts autosizing to constraint-based layout using NSLayoutConstraint (iOS6 API) and the Visual Format Language; shows debugging conflicting vs ambiguous constraints, using intrinsicContentSize, priorities (1–1000) and a concrete example: a 20pt‑margined square view then fixed by adding width/height and a 0.5 multiplier constraint in code. Demonstrates animation via layoutIfNeeded and notes an iOS5 helper library.

AI-written summary · about

  1. 0:00Introduction
  2. 1:34Prize and rules
  3. 3:08Layout history
  4. 6:02Frame-based layout
  5. 7:12Spring and strut
  6. 8:38Mental shift to Auto Layout
  7. 10:07How Auto Layout works
  8. 11:13Linear equations explained
  9. 13:23Solving constraints
  10. 15:10Auto Layout as magic wand
  11. 16:38Priorities in Auto Layout
  12. 17:25Demo in Interface Builder
  13. 22:16Auto Layout in code
  14. 23:40Simple Auto Layout example
  15. 24:23Constraint syntax
  16. 25:58Debugging ambiguous layouts
  17. 27:02Zen approach to constraints
  18. 28:45Animation with Auto Layout
  19. 30:34Alternative libraries
~/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.