~/talk

RxSwift for UI

Talkat Swift Heroes 2018 · on Friday, 2018-11-09· [reactive-programming, ios]
slides:none on file

Demos show RxSwift + RxCocoa driving UI not just networking: an interval(1s) -> DateFormatter -> rx.text chain updates a clock label with a single subscription stored in a disposeBag, and button down/up events flatMapLatest to pause/resume that stream. ScrollView contentOffset maps to constraint changes for parallax and stretch effects via rx.contentOffset -> image top/height binding, and a collection view is driven from an observable array of 10 images with page control bound to computed page indexes. Live code runs and reusable rx extensions are extracted.

AI-written summary · about

  1. 0:00Introduction
  2. 2:03Erics Cocoa
  3. 2:47RxSwift Overview
  4. 4:15Observable
  5. 5:36Channels
  6. 6:28Operators
  7. 9:14RxCocoa
  8. 11:35Rx
  9. 12:43Binder
  10. 15:27Current Time
  11. 20:46Combining events
  12. 23:50Parallax
  13. 32:55Parallax effect
  14. 38:05Rx extension
  15. 38:50Carousel
  16. 40:00CollectionView
  17. 40:50Configuration
  18. 41:40Demo
  19. 43:00Math
~/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.