RxSwift Playground
RxS is a RxSwift playground for you to getting up and running pretty fast.
If you don’t have pod
installed or “What is CocoaPods?“, visit the CocoaPods official guides.
You should consider using a Ruby version manager such as rbenv
.
First, clone the project, open your favorite Terminal app, and cd
into it.
pod install
open RxS.xcworkspace
To make the Xcode happy 😅, you may follow the ⚠️ instruction to Update to recommended settings 💪 for Pods.xcodeproj.
Now, click 👉 the RxS (playground) in the project navigator, 🛠 build the project (Command + B) and enjoy 😀 the playground.
import RxSwift
Observable.from([1, 2, 3]).subscribe(onNext: { value in
print(value)
})
1
2
3