To run the example project, clone the repo, and run pod install
from the Example directory first.
MARLimitable Category is easy to use, you just need to set maxLength
property with the value you wanted.It's done,have fun guys!
UITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(0, 0, 100, 50)];
textField.maxLength = 20;
MARLimitable is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "MARLimitable"
Maru-zhang, [email protected]
MARLimitable is available under the MIT license. See the LICENSE file for more info.