Latest 0.5.3
Homepage https://github.com/3lvis/TextField
License MIT
Platforms ios 8.0, requires ARC
Dependencies Formatter, InputValidator, Hex
Frameworks UIKit
Authors

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).

Native Demo

TextField

Custom Demo

TextField

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

Latest podspec

{
    "name": "TextField",
    "summary": "A TextField that supports formatters and input validators such as maximum length and regex",
    "version": "0.5.3",
    "homepage": "https://github.com/3lvis/TextField",
    "license": "MIT",
    "authors": {
        "Elvis Nuu00f1ez": "[email protected]"
    },
    "source": {
        "git": "https://github.com/3lvis/TextField.git",
        "tag": "0.5.3"
    },
    "social_media_url": "https://twitter.com/3lvis",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Source/**/*",
    "frameworks": "UIKit",
    "dependencies": {
        "Formatter": [
            "~> 0.3.2"
        ],
        "InputValidator": [
            "~> 0.8.5"
        ],
        "Hex": [
            "~> 2.0"
        ]
    }
}

Pin It on Pinterest

Share This