~/talk

Driving View-State through Data for Fun and/or Debugging

Talkat try! Swift NYC 2017 · 2017-09-05..09-06· [swift, frontend-architecture]
slides:none on file

Argues that every mutable UI element is a serializable model and shows a working iOS clocks app (based on Apple’s master‑detail template) where a separate view-state model drives presentation instead of being a side effect. Demonstrates an undo/redo slider and independent rewind of view state versus document, plus reproducible bug hunting via JSON playback of logged states. Code is on GitHub at MattGallagher/doc/clocks and the approach visibly enables time‑travel debugging and easier UI testing.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00ModelViewController Change Pattern
  3. 3:13ModelViewController in Apps
  4. 8:26DataDriven vs PresentationDriven
  5. 10:40Consequences of PresentationDriven
  6. 11:23The Problem
  7. 12:25The Document
  8. 13:09The Views
  9. 15:50Applying the Models
  10. 19:24Time Travel
  11. 20:22Testing
  12. 22:37Drawbacks
  13. 23:46Conclusion
~/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.