github ReactiveX/RxSwift 3.0.0.alpha.1
Black-Scholes

latest releases: 6.7.0, 6.6.0, 6.5.0...
pre-release7 years ago

Requirements

  • Xcode 8.0 beta 6 (8S201h)
  • Swift 3.0

Features

  • Modernizes API to be more consistent with Swift 3.0 API Design Guidelines
  • Replaces rx_* prefix with rx.* extensions. (Inspired by .lazy collections API). We've tried annotate deprecated APIs with @available(*, deprecated, renamed: "new method") but trivial replacements aren't annotated.
    • rx_text -> rx.text
    • rx_tap -> rx.tap
    • rx_date -> rx.date
    • ...
  • Deprecates subscribeNext, subscribeError, subscribeCompleted in favor of subscribe(onNext:onError:onCompleted:onDisposed) (The downsides of old extensions were inconsistencies with Swift API guidelines. They also weren't expressing that calling them actually performes additional subscriptions and thus potentially additional work beside just registering observers).
  • Deprecates doOnNext, doOnCompleted, doOnError in favor of do(onNext:onCompleted:onError:onSubscribe:onDisposed:)
  • Adds onSubscribe and onDisposed to do operator.
  • Adds namespace for immutable disposables called Disposables
    • Deprecates AnonymousDisposable in favor of Disposables.create(with:)
    • Deprecates NopDisposable in favor of Disposables.create()
    • Deprecates BinaryDisposable in favor of Disposables.create(_:_:)
  • Deprecates toObservable in favor of Observable.from().
  • Replaces old javascript automation tests with Swift UI Tests.
  • ...

Anomalies

  • There is a problem using UISwitch extensions because it seems that a bug exists in UIKit that causes all UISwitch instances to leak. #842

Don't miss a new RxSwift release

NewReleases is sending notifications on new releases.