NKVPhonePicker Versions Save

An UITextField subclass to simplify country code's picking. Swift 5.0

2.1.1

2 years ago
  • 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

2.1.0

4 years ago

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 🙌

2.0.3

5 years ago
  • Swift version update to 4.2 (thx to @saroar) ⬆
  • Fixed duplicated file and ? icon name (@ARGAMX) 👏🏻
  • Added 2 methods for choosing the correct country if they have the same phone extension. (@Saikedo) ✔️

Thanks for contributing!) 🔥

2.0.1

6 years ago

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!

1.2.0

6 years ago

What's new?

  • Updated to swift 4.0
  • Added AppIcon to example
  • Switched pattern for example to Indian
  • Fixed ios 11 bug.

1.1.0

6 years ago

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

1.0.0

7 years ago

Yeah, let's get drunk!