~/talk

Introducing Combine to iOS without Over"reacting"

Talkat Developer Summit 2020 · 2020-11-21..11-22· [ios, reactive-programming]
slides:none on file

Shows how to convert a UIKit rock‑paper‑scissors UI into a reactive pipeline using Combine: uses an @Published property wrapper for player state, wires a publisher through operators to transform Int → HandPosition → systemName → UIImage, fixes the initial-state glitch with dropFirst operator, and retains the chain with an AnyCancellable token. Builds a working small app where tapping sets state and the view updates via publishers and subscribers rather than imperative view controller wiring.

AI-written summary · about

  1. 0:00Introduction to Combine
  2. 0:40UI Kit example setup
  3. 3:06Imperative UI Kit approach
  4. 5:14State management refactor
  5. 6:19Combine pillars overview
  6. 7:00Publishers and @Published
  7. 8:24Subscribers and cancellables
  8. 10:10Fixing initial state issue
  9. 11:59Operators and transformations
  10. 13:04Mapping values in pipeline
  11. 14:49Assigning to UI elements
  12. 15:53Thread safety with main thread
  13. 16:13Separating model and view model
  14. 17:36View model subscription setup
  15. 19:23View controller simplification
  16. 20:03Combine future possibilities
~/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.