CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

ReSwiftRx 1.0.3

ReSwiftRx 1.0.3

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Vincenzo Scamporlino.



 
Depends on:
ReSwift>= 0
RxSwift>= 0
 

ReSwiftRx 1.0.3

ReSwiftRx

ReSwiftRx is an extension for ReSwift that provides a method to create a RxSwift’s observable sequence of states from a Store.

Example

asObservable()

Following the example explained in ReSwift:

let mainStore = Store<AppState>(
    reducer: CounterReducer(),
    state: nil
)
//subscribe to store's events
let disposable = mainStore.asObservable()
    .subscribe(onNext: { state in
        //reflect the app state into views
    })

Requirements

Installation

ReSwiftRx is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ReSwiftRx"

Author

Vincenzo Scamporlino, [email protected]

License

ReSwiftRx is available under the MIT license. See the LICENSE file for more info.