Skip to content

This sub-class of the UITextField provides more features to the UITextField in the iOS SDK, like a text length limit. It also shows the number of left characters inside the TextField and it includes a shake animation.

License

Notifications You must be signed in to change notification settings

JonathanGurebo/UITextFieldLimit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UITextFieldLimit

This sub-class of the UITextField, written in Objective-C (ARC), provides more features to the UITextField in the iOS SDK, like a text length limit. It also shows the number of left characters inside the TextField. Use it for multiple TextFields, the number of left characters will only show when relevent. The display label includes a shake animation when no characters left.

Features list:

  • Multiple textfields supported
  • Set the text length limit
  • Paste prevention
  • Displays a label of left characters inside the textfield, gets hidden when you stop editing.
  • DELEGATE methods to know when the user reaches the limit and more.
  • Shake animation when no characters left.

Copy the UITextFieldLimit.h and UITextFieldLimit.m files to your xcode project.

This project is under the Apache License 2.0

See https://github.com/JonathanGurebo/UITextFieldLimit/wiki/License

About

This sub-class of the UITextField provides more features to the UITextField in the iOS SDK, like a text length limit. It also shows the number of left characters inside the TextField and it includes a shake animation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages