- Launch Xcode and create a single view application, as shown:
- Launch Terminal app and navigate to the project directory.
- Initialize the podfile by executing pod init in the terminal and then open the created podfile in any text editor:
- Add the following code to the podfile:
# Uncomment the next line to define a global platform for your project# platform :ios, '9.0'target 'RxSwiftLoginView' do# Comment the next line if you're not using Swift and don't want to use dynamic frameworksuse_frameworks!pod 'RxSwift', '~> 3.6'
Get Reactive Programming with Swift 4 now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.