Skip to content

Commit

Permalink
update Pods version and README
Browse files Browse the repository at this point in the history
  • Loading branch information
deanrock committed Jun 7, 2017
1 parent 9a6ad71 commit dc4dce7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion MRCountryPicker.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit dc4dce7

Please sign in to comment.