CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Jun 2017 |
| SwiftSwift Version | 3.0 |
| SPMSupports SPM | ✗ |
Maintained by Mikael Konutgan.
A country picker view controller for iOS.
/Planet folder in your project.First, import the library:
import PlanetThen, create the view controller:
let viewController = CountryPickerViewController()
viewController.delegate = selfafter you present it and the user selects a country you will get a callback with the country name, ISO code, and calling code.
func countryPickerViewController(countryPickerViewController: CountryPickerViewController, didSelectCountry country: Country)showsCallingCodes.showsCancelButton to false.countryCodes property. See the comment in the example projectgit checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)