Type.self
Pre-release
Pre-release
This is a beta version of RxSwift 2.0.
This is last beta version. Next release will be first RC.
Updated
- Adds
ignoreElements
operator. - Adds
timeout
operator (2 overloads). - Adds
shareReplayLatestWhileConnected
operator. - Changes
Driver
to internally useshareReplayLatestWhileConnected
for subscription sharing instead ofshareReplay(1)
. - Adds
flatMapFirst
toDriver
unit. - Adds
replayAll
operator. - Adds
createUnbounded
factory method toReplaySubject
. - Adds optional type hints to
empty
,failWith
andnever
(empty(Int)
now works and means empty observable sequence ofInt
s). - Adds
rx_hidden
toUIView
. - Adds
rx_alpha
toUIView
. - Adds
rx_attributedText
toUILabel
. - Adds
rx_animating
toUIActivityIndicatorView
. - Adds
rx_constant
toNSLayoutConstraint
. - Removes implicitly unwrapped optional from
NSURLSession.rx_response
. - Exposes
rx_createDataSourceProxy
,rx_createDelegateProxy
onUITableView
/UICollectionView
. - Exposes
rx_createDelegateProxy
onUITextView
. - Exposes
rx_createDelegateProxy
onUIScrollView
. - Exposes
RxCollectionViewDataSourceProxy
. - Exposes
RxCollectionViewDelegateProxy
. - Exposes
RxScrollViewDelegateProxy
. - Exposes
RxTableViewDataSourceProxy
. - Exposes
RxTableViewDelegateProxy
. - Deprecates
proxyForObject
in favor ofproxyForObject<P : DelegateProxyType>(type: P.Type, _ object: AnyObject) -> P
. - Deprecates
rx_modelSelected<T>()
in favor ofrx_modelSelected<T>(modelType: T.Type)
. - Adds
func bindTo(variable: Variable<E>) -> Disposable
extension toObservableType
. - Exposes
ControlEvent
init. - Exposes
ControlProperty
init. - Refactoring of example app
- Divides examples into sections
- Adds really simple examples of how to do simple calculated bindings with vanilla Rx.
- Adds really simple examples of table view extensions (sectioned and non sectioned version).
- Refactoring of
GitHub sign in example
to use MVVM paradigm.
Fixed
- Fixes documentation for
flatMapFirst
- Fixes problem with delegate proxies not detecting all delegate methods in delegate proxy hierarchy.
Check out Migration guide to RxSwift 2.0