~/talk

Understanding Combine

Talkat #Pragma Conference 2019 · 2019-10-09..10-11· [swift]
slides:none on file

Argues that Combine turns familiar collection operations into streams, showing concrete code using UIKit and SwiftUI and the Combine framework to replace delegates and closures with Combine framework publishers. Demonstrates Publishers/Subscribers tying @Published model properties to UILabels, uses map/flatMap/zip/filter operators, builds a working rock‑paper‑scissors demo that colors results and a pipeline decoding JSON from NotificationCenter with a fallback via flatMap. Shows this approach composes, compiles, and runs — operators transform types so UI sinks get the right values.

AI-written summary · about

  1. 0:00Introduction to intuition
  2. 4:17From delegates to closures
  3. 8:14SwiftUI and Combine preview
  4. 11:08Target-action in UIKit
  5. 17:21Combine in UIKit example
  6. 24:33Map operator intuition
  7. 28:07Operators and subscribers
  8. 30:12Map with notifications
  9. 32:17FlatMap for error handling
  10. 35:10Summary and Q&A
~/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.