Juraj
Pre-release
Pre-release
This is a beta version of RxSwift 2.0.
Updated
- Adds
Driver
unit. This unit uses Swift compiler to prove certain properties about observable sequences. Specifically- that fallback error handling is put in place
- results are observed on main thread
- work is performed only when there is a need (at least one subscriber)
- computation results are shared between different observers (replay latest element)
- Renames
ObserverOf
toAnyObserver
. - Adds new interface
ObservableConvertibleType
. - Adds
BlockingObservable
toRxBlocking
and makes it more consistent withRxJava
. - Renames
func subscribe(next:error:completed:disposed:)
tofunc subscribe(onNext:onError:onCompleted:onDisposed:)
- Adds concat convenience method
public func concat<O : ObservableConvertibleType where O.E == E>(second: O) -> RxSwift.Observable<Self.E>
- Adds
skipUntil
operator. - Adds
takeWhile
operator. - Renames
takeWhile
indexed version totakeWhileWithIndex
- Adds
skipWhile
operator. - Adds
skipWhileWithIndex
operator. - Adds
using
operator. - Renames
func doOn(next:error:completed:)
tofunc doOn(onNext:onError:onCompleted:)
. - Makes
RecursiveImmediateSchedulerOf
private. - Makes
RecursiveSchedulerOf
private. - Adds
ConcurrentMainScheduler
. - Adds overflow error so now in case of overflow, operators will return
RxErrorCode.Overflow
. - Adds
rx_modelAtIndexPath
toUITableView
andUICollectionView
. - Adds
var rx_didUpdateFocusInContextWithAnimationCoordinator: ControlEvent<(context:animationCoordinator:)>
toUITableView
andUICollectionView
- Makes
resultSelector
argument incombineLatest
explicitfunc combineLatest<O1, O2, R>(source1: O1, _ source2: O2, resultSelector: (O1.E, O2.E) throws -> R) -> RxSwift.Observable<R>
. - Makes
resultSelector
argument inzip
explicitfunc combineLatest<O1, O2, R>(source1: O1, _ source2: O2, resultSelector: (O1.E, O2.E) throws -> R) -> RxSwift.Observable<R>
. - Adds activity indicator example in
RxExample
app. - Adds two way binding example in
RxExample
app. - many other small features
Fixed
- Problem with xcodebuild 7.0.1 treating tvOS shared schemes as osx schemes.
Check out Migration guide to RxSwift 2.0