Skip to content

Commit dc4dce7

Browse files
committed
update Pods version and README
1 parent 9a6ad71 commit dc4dce7

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

Example/Pods/Target Support Files/MRCountryPicker/Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/MRCountryPicker/ResourceBundle-SwiftCountryPicker-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MRCountryPicker.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'MRCountryPicker'
3-
s.version = '0.0.6'
3+
s.version = '0.0.7'
44
s.summary = 'Country picker with flags and optional phone numbers for iOS written in Swift.'
55

66
s.description = <<-DESC

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ class ViewController: UIViewController, MRCountryPickerDelegate {
3333
super.viewDidLoad()
3434
countryPicker.countryPickerDelegate = self
3535
countryPicker.showPhoneNumbers = true
36+
37+
// set country by its code
3638
countryPicker.setCountry("SI")
39+
40+
// optionally set custom locale; defaults to system's locale
41+
countryPicker.setLocale("sl_SI")
42+
43+
// set country by its name
44+
countryPicker.setCountryByName("Canada")
3745
}
3846
3947
// a picker item was selected
@@ -55,14 +63,14 @@ MRCountryPicker is available through Cocoapods and Carthage.
5563
Add the following line to your Podfile:
5664

5765
```ruby
58-
pod 'MRCountryPicker', '~> 0.0.6'
66+
pod 'MRCountryPicker', '~> 0.0.7'
5967
```
6068

6169
#### [Carthage](https://github.com/Carthage/Carthage):
6270
Add the following line to your Cartfile:
6371

6472
```ruby
65-
github "xTrinch/MRCountryPicker" ~> 0.0.6
73+
github "xTrinch/MRCountryPicker" ~> 0.0.7
6674
```
6775

6876
## Author

0 commit comments

Comments
 (0)