First, we will need to import the Rx libraries that we will be using, that is, RxSwift and RxCocoa, and we will do a quick build in order to make them available. We will also create a disposeBag property to dispose of subscriptions, as we did earlier.
Next, we need to convert our data into an Observable Sequence. We will use the Observable.of operator. option + click on data to see its data type, and you will see that it is an array Observable of the Developer type. The following screenshot shows this:
The code changes that we have done so far are as follows:
import UIKitimport RxSwiftimport RxCocoaclass ...