~/talk

Declarative Presentations

Talkat UIKonf 2019 · 2019-05-26..05-29· [developer-experience]
slides:none on file

Builds a tiny, concrete demo point of sale that models view presentation as synchronous operations returning futures and shows it actually working in Xcode. Implements a lightweight 40-line Future type to carry delayed results, extracts a Presentable protocol with Associatedtype and a UIViewController extension to present any flow, and adds a presentation "manner" parameter to choose modal push or popover. Enables one-line snapshot and flow tests, tooling to track presentations and leaks, and runs in production for about two years.

AI-written summary · about

  1. 0:00Introduction
  2. 1:39Declarative vs imperative
  3. 6:05View presentation concept
  4. 9:04Building the POS skeleton
  5. 12:21Implementing futures
  6. 17:46Connecting UI to logic
  7. 24:23Generalizing the approach
  8. 28:45Advanced tools and testing
  9. 33:00Conclusion and takeaways
  10. 34:56Q&A session
~/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.