Let's build the environment first

RxSwift is the reactive extension for Swift and can be found for free at https://github.com/ReactiveX/RxSwift. Since the library is distributed under the MIT license, you are free to use it in your commercial apps on an as-is basis like any other MIT-licensed software provided to you, which includes a copyright notice in your apps during distribution.

The RxSwift repository includes the RxSwift, RxCocoa, RxTest, and RxBlocking libraries. The latter two will allow you to write Rxtests, whereas RxCocoa provides Rx features to UI controls. We will explore all these libraries in this book, starting in this chapter.

To get started with the concepts, the repository comes bundled with Rx.playground and RxExample ...

Get Reactive Programming with Swift 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.