Skip to content

KimDarren/UITextField-Max

Repository files navigation

UITextField+Max

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.

About

📔 Set the MAX/LIMIT LENGTH to your text field.

Resources

License

Stars

Watchers

Forks

Packages

No packages published