- iOS 10.0+
- Xcode 9.0
Just add the MSFlightMapView folder to your project.
or use CocoaPods with Podfile:
pod 'MSFlightMapView'
- 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)
- 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)
- That's it!
Folding cell is released under the MIT license. See LICENSE for details.