Skip to content

set a limit input to UITextField and UITextView

Notifications You must be signed in to change notification settings

szwq01/textInputLimit

 
 

Repository files navigation

TextInputLimit

TextInputLimit是ios下的一个文本框输入文字长度限制的库,使用起来十分简单方便。

使用方式:

将textInputLimit的.h和.m直接拷贝到工程中,然后调用需要做输入长度限制的textField或textView对象方法:

[textObj setValue:@4 forKey:@"limit"];

使用过程中不需要对UITextField和UITextView或Xib文件做任何修改,也不需要引用头文件。

License

TextInputLimit is under MIT license.

About

set a limit input to UITextField and UITextView

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%