Skip to content

UITextField with support for formatters and input validators

License

Notifications You must be signed in to change notification settings

csimmons0/FormTextField

 
 

Repository files navigation

FormTextField

This a UITextField subclass that supports styling for valid / invalid just using a boolean, formatters so you can easily format credit card numbers, phone numbers and more. It supports input validators so you can limit the contents of a UITextField using maximum length, maximum value or even regex (perfect for validating emails).

Styling

FormTextField also supports styling using UIAppearance protocol. The example shown above uses this for styling.

Installation

FormTextField is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'FormTextField'

License

FormTextField is available under the MIT license. See the LICENSE file for more info.

Author

Elvis Nuñez, @3lvis

About

UITextField with support for formatters and input validators

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 96.4%
  • Ruby 3.6%