Setting the project

  1. Create a single view application
  2. Name the project Mother_Earth:

3. Open the Terminal app and go into the app project, as shown in this screenshot:

  1. Initialize the podfile to include the RxSwift and RxCocoa dependencies:
  1. Open the podfile and paste the following code into the file:
use_frameworks!target 'Mother_Earth' do    pod 'RxSwift', '~> 3.6'    pod 'RxCocoa', '~> 3.6'end
  1. Switch back to the Terminal app and enter the ...

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.