Skip to content

ksylvest/geography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geography

Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

pod "KSGeography"

Usage

Countries

KSCountry *country = [KSCountries.all named:@"Canada"]; // <KSCountry name="Canada" code="CAN">
country.name; // "Canada"
country.code; // "CAN"

Regions

KSRegion *region = [KSRegions.all named:@"Ontario"]; // <KSCountry name="Ontario" code="ON" type="province">
region.name; // "Ontario"
region.code; // "ON"

Author

Kevin Sylvestre, kevin@ksylvest.com

License

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

About

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors