~/talk

Auto Layout with an Extended Visual Format Language

Talkat AltConf 2019 · 2019-06-03..06-06· [ios, frontend-architecture]
name:BAN Jun
links:none on file
slides:none on file

Library banjun/NorthLayout extends Visual Format Language by letting segments wrapped in double vertical bars generate constraints to layout margins rather than superview edges, which lets margins stand in for safe area on all iOS devices. It parses extended VFL with kareman/FootlessParser into an abstract syntax tree, converts margin segments into margin constraints and emits standard Auto Layout constraints, and reduces boilerplate so existing VFL code works with minimal changes.

AI-written summary · about

  1. 0:00Intro
  2. 0:12Speaker Profile
  3. 1:40Auto Layout with VFL
  4. 3:30Auto Layout-without North Layout
  5. 4:03NorthLayout Usage
  6. 4:31Readable & Reviewable
  7. 5:04VFL & Safe Area
  8. 5:28Extending VFL
  9. 6:32Why Layout Margins?
  10. 7:01Layout Margins & Safe Area
  11. 7:37Implementing EVFL
  12. 8:47EVFL Abstract Syntax Tree
  13. 9:40Minimum Diff for Safe Area Support
~/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.