~/talk

RxSwift to Combine (Park Bo-young)

TalkinKoreanat Let'Swift 2019 · on Tuesday, 2019-11-12· [swift, reactive-programming]
links:none on file
slides:none on file

Shows how an iOS app using RxSwift (a Punk API beer list) is migrated to Combine and SwiftUI. Covers concrete code: networking with URLSession.DataTaskPublisher and JSONDecoder.decode, view bindings using @ObservedObject/@Published and a PassthroughSubject trigger, and subscription management with AnyCancellable instead of DisposeBag. Compares Combine’s type model (Publishers carry Output+Failure, use AnyPublisher), operator differences (tryMap, added/missing operators), subject types (PassthroughSubject, CurrentValueSubject), threading and combineLatest limits, and reports much smaller binary size and lower memory/CPU in benchmarks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Apple created Combine
  3. 3:13Combine vs RxSwift concepts
  4. 5:23Publishers and Subjects
  5. 8:22Operators differences
  6. 10:32Combining operators
  7. 11:34Subjects in Combine
  8. 12:40Memory management
  9. 13:47Thread handling
  10. 15:13Summary
  11. 15:42Code setup
  12. 16:46Network request comparison
  13. 19:00RxSwift architecture
  14. 21:57RxSwift ViewModel
  15. 23:45SwiftUI intro
  16. 24:28SwiftUI state
  17. 27:25SwiftUI example
  18. 28:10Combine ViewModel
  19. 31:48Final code comparison
  20. 32:48Code size reduction
  21. 33:54Performance comparison
  22. 35:22Combine benefits
  23. 36:06Compatibility limits
  24. 36:53Integration challenges
  25. 37:15Future outlook
  26. 37:56Closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.