To run the example project, clone the repo, and run pod install
from the Example directory first.
KSGeography is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "KSGeography"
KSCountry *country = [KSCountries.all named:@"Canada"]; // <KSCountry name="Canada" code="CAN">
country.name; // "Canada"
country.code; // "CAN"
KSRegion *region = [KSRegions.all named:@"Ontario"]; // <KSCountry name="Ontario" code="ON" type="province">
region.name; // "Ontario"
region.code; // "ON"
Kevin Sylvestre, [email protected]
KSGeography is available under the MIT license. See the LICENSE file for more info.