Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.47 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.47 KB

GDGeoData

[CI Status](https://travis-ci.org/Knut Inge Grosland/GDGeoData) Version License Platform

Swift wrapper for easy use of country and region data. DataSource.

Usage

if let norway = GDCountry(name: "Norway") {
    println("testCountryLoadedByName \(norway.description)")
}

List all countries

GDCountry.countries

Installation

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

CocoaPods is a dependency manager for Cocoa projects.

CocoaPods 0.36 adds supports for Swift and embedded frameworks. You can install it with the following command:

$ gem install cocoapods

To integrate GDGeoData into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'GDGeoData', '~> 0.1'

Then, run the following command:

$ pod install

Author

Knut Inge Grosland, ”[email protected]

License

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