Installing RxSwift with Carthage

Using Carthage is pretty much similar to working with CocoaPods. Install the latest version of Carthage by following the steps mentioned at https://github.com/Carthage/Carthage#installing-carthage.

Create a new file in your project named CartFile and add the following code to this file:

github "ReactiveX/RxSwift" ~> 3.6

Use the Terminal.app to execute the Carthage update command from the folder containing the newly created CartFile.

Once this command is executed, you will see framework files in the Carthage folder present inside the current folder. All the libraries mentioned on the CartFile are downloaded and built to form a framework file in this step and hence it might take some time. Include the framework ...

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.