~/talk

Using SwiftUI as a Language

slides:none on file

Claims SwiftUI is best used as a language of grammar primitives not just components, and demonstrates a concrete solution for a production financial app: build a reusable modifier that detects truncation by measuring three ghosts (visible, forced-single-line, fully-wrapped) via background + GeometryReader + fixedSize, then run three comparisons to decide compact/standard/extended. Layout switches use a ZStack with a high layoutPriority winner. Result: no private APIs, accurate selection, and the UI works reliably in the app.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Speaker’s Swift journey
  3. 3:29SwiftUI as a language
  4. 4:31Vocabulary in components
  5. 5:59Grammar in relationships
  6. 7:04Text truncation challenge
  7. 11:24Combining grammar
  8. 17:52Text layout rules
  9. 18:57ZStack and layout priority
  10. 21:06Mastering SwiftUI grammar
  11. 22:33Closing
~/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.