Some other cool libraries

Now, let’s take a look at a couple of really great libraries in the RxSwift community.

The first is RxAlamofire, which wraps the elegant Alamofire library. If you are used to using Alamofire, you will feel right at home here. Here’s what an rx.json call would look like using RxAlamofire:

_ = session.rx        .json(.get, stringURL)        .observeOn(MainScheduler.instance)        .subscribe { print($0) }

You can find all the information for that cool library at https://github.com/RxSwiftCommunity/RxAlamofire.

The second is Moya. Moya seems to be the crowd favorite, looking at the stars this repository has got on GitHub; you can find it at https://github.com/Moya/Moya.

Moya is an abstraction layer that significantly streamlines networking ...

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.