TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Nov 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Ivan Bruel.
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.
let observable = Observable.just("hello")
observable
.doOnNext { print($0) }
.doOnError { print("error: \($0)") }
.addDisposableTo(disposeBag)
RxLegacy is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod "RxLegacy"
or
pod "RxLegacy/RxResult"
ivanbruel, [email protected]
RxLegacy is available under the MIT license. See the LICENSE file for more info.