This is a text validation library for Objective - C.
All most every business application need text based input validation. Most og the validation are common between appication like E-Mail. We generaly copy and paste code from internet or from our own old project.
But I think a library can make it easy to work. So I create one and share here.
This Library can work in two way.
- Manualy with code (Custome)
- As a category of UITextField.
If you want to perform siple validation for UITextField only than go for second approch but if you want some custom validation or you want validation of text which is somewhere else than UITextField lin NSString or UILabel than go for first approch. If you want validation for NSDate than also you can apply first Approch.
I have created a simple demo to show how to use UITextField category.
- Blank
- Number
- Integer
- Alphabet without space
- Alphabet with space
- Alpha numeric without space
- Alpha numeric with space
- Regular Expression
- Min and max length validation
-
Validation on date
- Date before other date
- Date after other date
- date between two date
Add This four file in your project if you want UITextField. otherwise just add first two file.
Import .h files as u require and start wirking.

