diff --git a/Example/Pods/Target Support Files/MRCountryPicker/Info.plist b/Example/Pods/Target Support Files/MRCountryPicker/Info.plist index e1c2bd4..294cbb9 100644 --- a/Example/Pods/Target Support Files/MRCountryPicker/Info.plist +++ b/Example/Pods/Target Support Files/MRCountryPicker/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.0.6 + 0.0.7 CFBundleSignature ???? CFBundleVersion diff --git a/Example/Pods/Target Support Files/MRCountryPicker/ResourceBundle-SwiftCountryPicker-Info.plist b/Example/Pods/Target Support Files/MRCountryPicker/ResourceBundle-SwiftCountryPicker-Info.plist index d8c3d57..f77ed11 100644 --- a/Example/Pods/Target Support Files/MRCountryPicker/ResourceBundle-SwiftCountryPicker-Info.plist +++ b/Example/Pods/Target Support Files/MRCountryPicker/ResourceBundle-SwiftCountryPicker-Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.0.6 + 0.0.7 CFBundleSignature ???? CFBundleVersion diff --git a/MRCountryPicker.podspec b/MRCountryPicker.podspec index 686aec0..a345f90 100644 --- a/MRCountryPicker.podspec +++ b/MRCountryPicker.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'MRCountryPicker' -s.version = '0.0.6' +s.version = '0.0.7' s.summary = 'Country picker with flags and optional phone numbers for iOS written in Swift.' s.description = <<-DESC diff --git a/README.md b/README.md index 264ecd9..ad56979 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,15 @@ class ViewController: UIViewController, MRCountryPickerDelegate { super.viewDidLoad() countryPicker.countryPickerDelegate = self countryPicker.showPhoneNumbers = true + + // set country by its code countryPicker.setCountry("SI") + + // optionally set custom locale; defaults to system's locale + countryPicker.setLocale("sl_SI") + + // set country by its name + countryPicker.setCountryByName("Canada") } // a picker item was selected @@ -55,14 +63,14 @@ MRCountryPicker is available through Cocoapods and Carthage. Add the following line to your Podfile: ```ruby -pod 'MRCountryPicker', '~> 0.0.6' +pod 'MRCountryPicker', '~> 0.0.7' ``` #### [Carthage](https://github.com/Carthage/Carthage): Add the following line to your Cartfile: ```ruby -github "xTrinch/MRCountryPicker" ~> 0.0.6 +github "xTrinch/MRCountryPicker" ~> 0.0.7 ``` ## Author