Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RxSwift Xcoders Riga meetup

RxSwift Xcoders Riga meetup

Avatar for Kristaps Grinbergs

Kristaps Grinbergs

January 23, 2019
Tweet

More Decks by Kristaps Grinbergs

Other Decks in Technology

Transcript

  1. About me • Swift developer at Qminder • BCompSci &

    MComSci unfinished DmCompSci • > 15 years in IT • love open source
  2. In computing, reactive programming is a programming paradigm oriented around

    data flows and the propagation of change. Wikipedia
  3. ReactiveX An API for asynchronous programming with observable streams. •

    Microsoft (Rx.NET) - 2009 • Supports many languages • RxSwift - 2015
  4. Testing • Async XCTest with expectations • RxBlocking making it

    synchronous • Using RxTest and custom Schedulers • https://www.raywenderlich.com/7408-testing-your-rxswift-code • https://www.youtube.com/watch?v=FgbTenGH-P0
  5. + Agile and reusable code Thread safety Eliminate state from

    code Testing Well tested Error handling Large community and extensions Extends MVVM