Releases: NikKovIos/NKVPhonePicker
Releases · NikKovIos/NKVPhonePicker
SPM, Swift 5.0 and some json fixes.
-
Increased possible length for code check to 7, i.e. (country code + area code)
-
Added area codes for UK, Guernsey, Isle of Man and Jersey. Source: http://www.prokerala.com
Thx @VineetKG -
Added SPM.
Thx @behzadardehei -
Migrated to swift 5.0
Thx @shahbaz-saleem
Swift 5.0 update
Added the prefill method:
let source = NKVSource(countryCode: "ru")
textField.setCurrentCountryInitially = false
textField.preFillText(source: source, number: 7999432423)
Thanks @shahbaz-saleem for pushing me to update to swift 5.0 😁
Thanks @artemy-ant for some features 🙌
Swift update release
Major update! 🔥
This is a major update with totally code refactoring and some new features.
What's new:
- Searching with phone extensions, not only with country names;
- Right to left orientation feature;
- One model
NKVSource
for country, countryCode and phone extension; - Updated example and gif;
- Huge code refactoring;
- Added some patterns to the countries bundle;
- Fully comments coverage.
Usage
...
textField.rightToLeftOrientation = true
Please, open an issue if need additional functional!
Release 1.2.0
What's new?
- Updated to swift 4.0
- Added AppIcon to example
- Switched pattern for example to Indian
- Fixed ios 11 bug.
Release 1.1.0
What's new?
- Added possibility to choose a phone format patterns (# ### ### ## ##)
- Removed unnecessary getters
- Plus is now a separate UILabel
- Fixed minor and major bugs