- Support multiple languages.
- Support Dark mode.
- Search using many keywords (ISO2, Dial code, Country name).
English | Japanese |
---|---|
- Show
DialCountriesController
let controller = DialCountriesController(locale: Locale(identifier: "ja"))
controller.delegate = self
controller.show(vc: self)
- Delegate for selection
extension ViewController: DialCountriesControllerDelegate {
func didSelected(with country: Country) {
print(country)
}
}
- Get Current country
Country.getCurrentCountry()
- iOS 12.0+
- Swift 5.0+
- Xcode 10.0+
DialCountries is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'DialCountries'
Ahmad Almasri, ahmed.almasri@ymail.com
DialCountries is available under the MIT license. See the LICENSE file for more info.