From the course: iOS App Development: Design Patterns for Mobile Architecture

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

RxSwift – observables

RxSwift – observables

From the course: iOS App Development: Design Patterns for Mobile Architecture

Start my 1-month free trial

RxSwift – observables

- [Instructor] We are now ready to add binding to our view controller in the presenter, and this is really the last piece of these architectural changes. It's optional, there are a lot of cool things that can come out of it, it can reduce the code that you write, and once you understand the process, it does simplify the code. So, in order to do this, we're going to use a library called RxSwift. RxSwift is part of the ReactiveX family for languages. Basically, ReactiveX provides these reactive extensions in many different languages. Java, Android, Kotlin, Swift, PHP. You name it, it's probably in here, in the ReactiveX library. So what's great about this is, if you learn this pattern for one language, you can then apply these same patterns to those other languages, so, you learn it once, and you can apply it across many different platforms. In order for us to do this, let's go ahead to our SpyList presenter. We're going to bind this and have any changes to the data within the presenter…

Contents