KSGeography 1.0.4

KSGeography 1.0.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jul 2015

Maintained by Kevin Sylvestre.



  • By
  • Kevin Sylvestre

Geography

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, [email protected]

License

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