Latest 1.0.2
Homepage https://github.com/KimDarren/UITextField-Max
License WTFPL
Platforms ios 6.0, requires ARC
Frameworks Foundation, UIKit
Authors

CocoaPods works badge WTFPL Badge

Extension of UITextField to set the MAX/LIMIT LENGTH to your text field.

Installation

Use CocoaPods.

pod 'UITextField+Max'

Usage

Create UITextField, then set maxLength.

UITextField *textField = [[UITextField alloc] init];
textField.maxLength = 10;

It’s really simple, right?

Demo

There is a simple DEMO PROJECT using UITextField+Max in Demo directory.

Demo Screenshot

License

UITextField+Max is under WTFPL. You can do what the fuck you want with this shit. See LICENSE file for more info.

Latest podspec

{
    "name": "UITextField+Max",
    "version": "1.0.2",
    "summary": "Set the MAX/LIMIT LENGTH to your text field.",
    "homepage": "https://github.com/KimDarren/UITextField-Max",
    "license": {
        "type": "WTFPL",
        "file": "LICENSE"
    },
    "authors": {
        "KimDarren": "[email protected]"
    },
    "source": {
        "git": "https://github.com/KimDarren/UITextField-Max.git",
        "tag": "1.0.2"
    },
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source_files": "Classes/*.{h,m}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This