FormatTextField
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Installation
FormatTextField is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'FormatTextField'
Usage
import FormatTextField
var textField = FormatTextField()
textField.inputType = .phone
The options for inputType are the following
- phone: Formats a phone number, for example (123) 456-7890
- currecy: Formats as a currency with a given currency symbol, for example $1,234
- email: Validates as an email
Demo

Author
Anthony Dito, anthonymdito@gmail.com
License
FormatTextField is available under the MIT license. See the LICENSE file for more info.
FormatTextField Reference