[![CI Status](http://img.shields.io/travis/Jon Willis/RxPusherSwift.svg?style=flat)](https://travis-ci.org/Jon Willis/RxPusherSwift)
To run the example project, clone the repo, and run pod install
from the Example directory first.
pusher
.connection
.rx_connectionState
.map { "\($0.new)" }
.bindTo(self.connectionStateLabel.rx_text)
.addDisposableTo(self.disposeBag)
pusher
.rx_subscribe("exampleChannel")
.flatMapLatest { channel in channel.rx_bind("exampleEvent") }
.map { "\($0)" }
.bindTo(self.lastMessageLabel.rx_text)
.addDisposableTo(disposeBag)
RxSwift, RxCocoa, PusherSwift
RxPusherSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "RxPusherSwift"
Jon Willis, jondwillis@gmail.com
RxPusherSwift is available under the MIT license. See the LICENSE file for more info.