Skip to content

Objective C iOS and Mac wrapper database and classes for airports, runways, frequencies from ourairports.com

Notifications You must be signed in to change notification settings

koppenheim/iairportsdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a mac and iOS database for airports worldwide. A Cocoa framework Core Data model and accompanying Objective C classes is used. Runway and frequency information is also included.

This databse is used in the wildly popular NRST: Descent Rate & Airport Finder for iOS.

To get started quickly:

  • Create an XCode project
  • In the projects directory run:
  • $ mkdir lib
  • $ git submodule add https://github.com/ckhsponge/iairportsdb.git ./lib/iairportsdb
  • In XCode add the group /lib and /lib/iairportsdb
  • Select the iairportsdb group
  • Right click and Add files to your project
  • Select /lib/iairportsdb/db and /lib/iairportsdb/models
  • Make sure "Create groups for any added folders" is selected
  • You are done!

Now you can find airports using:

  • [IADBAirport findNear:(CLLocation *) location withinNM:(CLLocationDistance) distance]
  • [IADBAirport findAllByIdentifier:(NSString *) identifier]
  • [IADBNavigationAid findNear:(CLLocation *) location withinNM:(CLLocationDistance) distance]
  • [IADBNavigationAid findAllByIdentifier:(NSString *) identifier]
  • [IADBLocation findNear:(CLLocation *) location withinNM:(CLLocationDistance) distance]
  • [IADBLocation findAllByIdentifier:(NSString *) identifier]

About

Objective C iOS and Mac wrapper database and classes for airports, runways, frequencies from ourairports.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 99.2%
  • C 0.8%