PhoneNumberKit is a Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google’s libphonenumber.
Features:
- Validate, normalize and extract the elements of any phone number string.
- Simple Swift syntax and a lightweight readable codebase.
- Fast. 1000 parses -> ~0.4 seconds.
- Best-in-class metadata from Google’s libPhoneNumber project.
- Fully tested to match the accuracy of Google’s JavaScript implementation of libPhoneNumber.
- Built for iOS. Automatically grabs the default region code from the phone.
- Editable (!) AsYouType formatter for UITextField.
- Convert country codes to country names and vice versa
