CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

RxLegacy 0.2

RxLegacy 0.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Ivan Bruel.



RxLegacy

Version
License
Platform

RxLegacy is a bunch of legacy functions from RxSwift for easier block completion.
Includes doOnNext, doOnCompleted, doOnSubscribe, doOnError, doOnDispose,
subscribeNext, subscribeError, subscribeCompleted, subscribeDispose and mapVoid.
Also include a sub-dependency for Result related calls such as, subscribeSucccess,
subscribeFailure, doOnFailure and doOnSucccess.

Example

let observable = Observable.just("hello")

observable
  .doOnNext { print($0) }
  .doOnError { print("error: \($0)") }
  .addDisposableTo(disposeBag)

Installation

RxLegacy is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "RxLegacy"

or

pod "RxLegacy/RxResult"

Author

ivanbruel, [email protected]

License

RxLegacy is available under the MIT license. See the LICENSE file for more info.