Skip to content

zingdrones/AirMapSDK-Swift

This branch is 639 commits ahead of, 5 commits behind jgrantr/AirMapSDK-Swift:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8ad6477 · May 25, 2021
Nov 20, 2018
Oct 8, 2020
Feb 23, 2021
Apr 7, 2021
Feb 11, 2019
Jan 9, 2018
Aug 31, 2017
Dec 7, 2017
Aug 9, 2016
Sep 9, 2017
Aug 28, 2018
Oct 14, 2020
May 25, 2021
Apr 12, 2019
Apr 12, 2019
Jan 9, 2018
Sep 7, 2018
Feb 20, 2019
Oct 8, 2020

Repository files navigation

AirMap: The Airspace Platform for Developers Swift 5.0 Version License Platform

Create Flights, Send Telemetry Data, Get Realtime Traffic Alerts.

Requirements

Environment

  • iOS 10.0+,
  • macOS 10.14+,
  • Swift 5.0
  • Xcode 11.0+

https://dashboard.airmap.io/developer

Read Getting Started Guide

https://developers.airmap.com/v2.1/docs/getting-started-ios

Installation

CocoaPods

Requires CocoaPods 1.8.0+

The AirMap SDK is a CocoaPod written in Swift. CocoaPods is a dependency manager for Cocoa projects. If you don't have CocoaPods, You can install it with the following command:

$ sudo gem install cocoapods

Example Project

You must have Xcode 11.0+ to run the example.

To run the example project, run pod try AirMapSDK. This should install the SDK and launch Xcode.

Integrating into your project

Mapbox

Before downloading Mapbox follow the guide here to configure your secret token otherwise you will see a 401 Unauthorized error.

CocoaPods

To integrate the AirMap SDK into your Xcode project, navigate to the directory that contains your project and create a new Podfile with pod init or open an existing one, then add pod 'AirMapSDK' to the main target. Make sure to add the line use_frameworks!.

target 'MyApp' do
  use_frameworks!
  pod 'AirMapSDK'
end

Then, run the following command to install the dependencies:

$ pod install

Going forward, open the MyProject.xcworkspace file instead of the MyProject.xcodeproj file.

Make sure you import the framework before using the SDK.

Carthage

The AirMapSDK is also available via Carthage, however, only the Core subspec is currently available

github "AirMap/AirMapSDK-Swift"

Importing

import AirMap

License

See LICENSE for details

About

Create Flights, Send Telemetry Data, Get Realtime Traffic Alerts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 95.2%
  • Objective-C 4.2%
  • Other 0.6%