项目作者: puthnith

项目描述 :
RxSwift Playground
高级语言: Swift
项目地址: git://github.com/puthnith/RxS.git
创建时间: 2018-10-27T07:46:58Z
项目社区:https://github.com/puthnith/RxS

开源协议:MIT License

下载


RxS: RxSwift Playground

Swift
CocoaPods
GitHub

RxS is a RxSwift playground for you to getting up and running pretty fast.

How to Play 🐒

Cocopods

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.

Let’s Play

First, clone the project, open your favorite Terminal app, and cd into it.

  1. pod install
  2. 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.

Example 🚀

  1. import RxSwift
  2. Observable.from([1, 2, 3]).subscribe(onNext: { value in
  3. print(value)
  4. })
  1. 1
  2. 2
  3. 3