~/talk

A Newbie's Guide to The Composable Architecture

Talkat Swift Heroes 2023 · 2023-05-04..05-05· [ios, software-architecture]
slides:none on file

Live-coding builds a Pomodoro app with The Composable Architecture: defines State/Action/Reducer, a Store and ViewStore, runs a one-second timer via continuous clock effects and stops it with cancelable effects, scopes a modal child with presentation state and identified array, injects dependencies (clock, UUID, date) so tests use a test clock and deterministic UUID/date, and proves behavior with TestStore assertions — timers append on stop, cancellation works, and unit tests pass without waiting.

AI-written summary · about

  1. 0:00Introduction to TCA
  2. 1:50State management challenges
  3. 5:00TCA core principles
  4. 7:14Composition and modularity
  5. 8:05Setting up the project
  6. 10:26Integrating the UI
  7. 14:10Implementing bindings
  8. 16:40Testing the logic
  9. 18:24Asynchronous effects
  10. 22:15Dependency injection
  11. 25:49Managing lists and data
  12. 29:22Parent-child communication
  13. 34:08Complex feature navigation
  14. 39:22Conclusion and resources
~/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.