KSGeography 1.0.4

KSGeography 1.0.4

测试已测试
语言语言 Obj-CObjective C
许可 MIT
发布日期上次发布日期2015年7月

Kevin Sylvestre维护。



  • 作者:
  • Kevin Sylvestre

地理信息

用法

要运行示例项目,先从仓库克隆,然后在 Example 目录中首先运行 pod install

安装

KSGeography 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 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 在 MIT 许可下提供。有关更多信息,请参阅 LICENSE 文件。