Skip to content
A tiny and legant category for UITextField to make it limitable.
Objective-C Shell Swift Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
MARLimitable
node_modules/github-markdown-css
.gitignore
.travis.yml
LICENSE
MARLimitable.podspec
README.md
_Pods.xcodeproj

README.md

MARLimitable

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

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;

Installation

MARLimitable is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "MARLimitable"

Author

Maru-zhang, maru-zhang@foxmail.com

License

MARLimitable is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.