github ReactiveX/RxSwift 2.0.0-beta.1
Juraj

latest releases: 6.6.0, 6.5.0, 5.1.3...
pre-release8 years ago

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 to AnyObserver.
  • Adds new interface ObservableConvertibleType.
  • Adds BlockingObservable to RxBlocking and makes it more consistent with RxJava.
  • Renames func subscribe(next:error:completed:disposed:) to func 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 to takeWhileWithIndex
  • Adds skipWhile operator.
  • Adds skipWhileWithIndex operator.
  • Adds using operator.
  • Renames func doOn(next:error:completed:) to func 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 to UITableView and UICollectionView.
  • Adds var rx_didUpdateFocusInContextWithAnimationCoordinator: ControlEvent<(context:animationCoordinator:)> to UITableView and UICollectionView
  • Makes resultSelector argument in combineLatest explicit func combineLatest<O1, O2, R>(source1: O1, _ source2: O2, resultSelector: (O1.E, O2.E) throws -> R) -> RxSwift.Observable<R>.
  • Makes resultSelector argument in zip explicit func 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

Don't miss a new RxSwift release

NewReleases is sending notifications on new releases.