Skip to content

RxMKMapView is a RxSwift wrapper for MKMapView `delegate`.

License

Notifications You must be signed in to change notification settings

sergdort/RxMKMapView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RxMKMapView

RxMKMapView is a RxSwift wrapper for MKMapView (MapKit) delegate.

Version License Platform

Installation

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

pod "RxMKMapView"

Example Usages

// MARK: Setup MKMapView

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

// MARK: Responding to Loading Events

mapView.rx_willStartLoadingMap
.subscribeNext {
	print("rx_willStartLoadingMap")
}.addDisposableTo(disposeBag)

mapView.rx_didFinishLoadingMap
.subscribeNext { _ in
	print("rx_didFinishLoadingMap")
}.addDisposableTo(disposeBag)

Requirements

RxMKMapView requires Swift 2.0 and RxSwift (2.2.0).

License

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

About

RxMKMapView is a RxSwift wrapper for MKMapView `delegate`.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 92.2%
  • Ruby 7.8%