Scott Gardner

2pods

RxCoreData

License: MIT

RxMKMapView

RxMKMapView is a Reactive wrapper for MKMapView delegate.

Installation

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

ruby pod "RxMKMapView"

Example Usages

```swift

// MARK: Setup MKMapView

let mapView = MKMapView(frame: view.frame) view.addSubview(mapView)

// MARK: Respond to Loading Events mapView.rx.willStartLoadingMap .asDriver() .drive(onNext: { print("map started loadedloading) }) .disposed(by: disposeBag)

mapView.rx.didFinishLoadingMap .asDriver() .drive(onNext: { print("map finished loading") }) .disposed(by: disposeBag) ```

License: MIT

  • Swift