Latest 4.2.0
Homepage https://github.com/notohiro/RxNowCastMapView
License MIT
Platforms ios 8.0, requires ARC
Dependencies RxSwift, NowCastMapView
Authors

Swift
Build Status
CocoaPods Compatible
Carthage Compatible
Platform
license
Twitter

RxNowCastMapView is an Reactive Extension for NowCastMapView.

Installation

RxNowCastMapView is available through CocoaPods and Carthage.

Usage

RxBaseTimeModel

RxBaseTimeModel never throws .onError and .onCompleted.

let model = RxBaseTimeModel()

model.baseTime.subscribe(onNext: { baseTime in
  /// fetched!!!
}).addDisposableTo(bag)

model.fetch()

RainLevelsModel.rx

let rainLevelsModel = RainLevelsModel(baseTime: baseTime)

rainLevelsModel.rx.rainLevels(with: request).subscribe(onNext: { result in
    switch result {
    case .succeeded(_, _):
        // process RainLevels
    default:
        break
    }
}).addDisposableTo(bag)

License

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

Latest podspec

{
    "name": "RxNowCastMapView",
    "version": "4.2.0",
    "summary": "Reactive Extension for NowCastMapView",
    "homepage": "https://github.com/notohiro/RxNowCastMapView",
    "license": "MIT",
    "authors": {
        "Hiroshi Noto": "[email protected]"
    },
    "source": {
        "git": "https://github.com/notohiro/RxNowCastMapView.git",
        "tag": "4.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.2.0",
    "requires_arc": true,
    "source_files": "RxNowCastMapView/*",
    "dependencies": {
        "RxSwift": [],
        "NowCastMapView": []
    }
}

Pin It on Pinterest

Share This