Black-Scholes
Pre-release
Pre-release
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 withrx.*
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 ofsubscribe(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 ofdo(onNext:onCompleted:onError:onSubscribe:onDisposed:)
- Adds
onSubscribe
andonDisposed
todo
operator. - Adds namespace for immutable disposables called
Disposables
- Deprecates
AnonymousDisposable
in favor ofDisposables.create(with:)
- Deprecates
NopDisposable
in favor ofDisposables.create()
- Deprecates
BinaryDisposable
in favor ofDisposables.create(_:_:)
- Deprecates
- Deprecates
toObservable
in favor ofObservable.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 allUISwitch
instances to leak. #842