Skip to content

carabina/MSFlightMapView

 
 

Repository files navigation

MSFlightMapView

CocoaPods CocoaPods Twitter

Requirements

  • iOS 10.0+
  • Xcode 9.0

Installation

Just add the MSFlightMapView folder to your project.

or use CocoaPods with Podfile:

pod 'MSFlightMapView'

Usage

  1. To use MSFlightMapView, you would be needing to create MSFlight objects first like :
let EnglandToMadagascar:MSFlight = MSFlight.init(withDeparture: CLLocationCoordinate2D(latitude:53.206389, longitude: -0.861111), andArrival: CLLocationCoordinate2D(latitude:-19.002846, longitude: 46.460938), andPathPrimaryColor: UIColor.red, andPathSecondaryColor: UIColor.brown, andAirplaneColor: UIColor.black)
  1. Then set you view's subclass to MSFlightMapView and initialize it with the array of MSFlight objects
self.view = MSFlightMapView.init(withFrame: self.view.frame, andFlights: flights)
  1. That's it!

Licence

Folding cell is released under the MIT license. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 92.4%
  • Swift 4.2%
  • Shell 2.9%
  • Other 0.5%