MIT License

1 image



Enhanced UITextField, with improved visuals for a sweet UX.

Add input validation via Storyboard! The CKTextField displays a green checkmark once the user entered a valid content. It will shake, if the user exceeds the valid input range (e.g. maximum string length). Currently string minimum and maximum length, positive integer minimum and maximum value and masked input are supported for validation, but the code can be easily extended for additional checks.

Use the masked input mode to apply a special pattern, e.g. #-###-##-## with '#' being a placeholder for number and '-' being a part of the mask pattern that is automatically added while the user is typing. Also allows the user to enter the pattern symbol if he likes to.

CKTextField also fixes a visual cursor misplacement when using a placeholder in conjunction with center alignment.


Sponsored with ❤️ by Instabug

Instabug: Understand how your app is doing with real-time contextual insights from your users

Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.

Get Started Now