You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-7
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# countrypicker-ios-swift
1
+
# RVCountryPicker iOS Swift library
2
2
3
-
Country Picker with flags for iOS iPhone Apps, written in Swift. Currently support 226 countries.
3
+
Country Picker with flag images for iOS iPhone Apps, written in Swift. Currently supports 225 countries, for the ISO country codes which is found within `NSLocale.isoCountryCodes` API.
4
4
5
5
<palign="center">
6
6
<imgsrc="https://i.imgur.com/1gnTA4z.png"width="2000"height="550"alt="Real Device iPhone6S Vs iPhone6S Simulator"/><br/>
@@ -12,13 +12,14 @@ Country Picker with flags for iOS iPhone Apps, written in Swift. Currently suppo
12
12
13
13
* You can easily get an array of Country Objects which includes following attributes per country object instance
14
14
* Index in alphabetical order (0 - 225)
15
-
* Country Name,
15
+
* Country Name (Ex. Sri Lanka)
16
16
* ISO Country Code (Ex. for Sri Lanka - LK)
17
17
* Locale ID for the country (Ex. for Sri Lanka - _LK)
18
-
* Flag Image Name (out of the 226 flags images files included within the library)
18
+
* Flag Image Name (corresponding flag image name out of the 226 image files included within the library)
19
19
* You can integrate above `CountryPickerTableViewController` with 5 lines of code (see bellow steps)
20
20
21
21
### Development Road Map
22
+
22
23
* DisplayOnlyCountriesArr
23
24
* ShowExceptCountriesArr
24
25
* Search Bar and enableSearchBar
@@ -40,11 +41,11 @@ $ gem install cocoapods
40
41
41
42
To integrate **CountryPicker** into your Xcode project using CocoaPods, specify it in your Podfile as follows:
42
43
43
-
You want to add pod 'countrypicker-ios-swift', '~> 1.2' similar to the following to your Podfile:
44
+
You can add pod 'RVCountryPicker', '~> 1.2.5' similar to the following to your Podfile:
44
45
45
46
```ruby
46
47
target '<Your App Target Name>'do
47
-
pod 'RVCountryPicker', '~> 1.2.4'
48
+
pod 'RVCountryPicker', '~> 1.2.5'
48
49
end
49
50
```
50
51
@@ -128,12 +129,14 @@ Remember you definitely will have to implement the `CountryPickerTableViewContro
128
129
- You can always add up your valuable utility methods to this class which is related to the purpose of this library.
129
130
- Don't forget to check out the Demo project simple implementation to get some more ideas.
130
131
132
+
Flag Images Credit:
133
+
[Flag images were designed by Freepik from Flaticon](https://www.flaticon.com/authors/freepik)
131
134
132
135
## License
133
136
This source code is made available under the MIT License.
134
137
135
138
```sh
136
-
Copyright (c) 2016 Randika Vishman
139
+
Copyright (c) 2018 Randika Vishman
137
140
138
141
Permission is hereby granted, free of charge, to any person obtaining a copy
139
142
of this software and associated documentation files (the "Software"), to deal
0 commit comments