Environment setup

Before we go ahead and start working with code, we need to set up the project for this chapter. This process is similar to the one we followed in earlier chapters with a small difference—follow the steps in order to get started:

  1. Create a single view application project and name it RxOperators.
  2. Open Terminal.app and navigate to the project folder. Create a podfile inside your Xcode projects folder by executing the pod init command.
  3. Open the created podfile and paste the code of the podfile:
# Uncomment the next line to define a global platform for your project target 'RxOperators' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks!                                      pod 'RxSwift' # Pods for RxOperators ...

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.