Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 860 Bytes

File metadata and controls

45 lines (24 loc) · 860 Bytes

NSString+TextAndNumberValidation

NSString category methods to simplify popular string standards validation

Validates:

  • Polish PESEL number (Personal Number)
  • Polish NIP number
  • Polish REGON number
  • Email address using regular expression
  • Credit Card numbers - Luhn numbers
  • Bank Account numbers

Example Project

Example project shows how to use those methods, additionaly there are some tests to check if methods still work:D

Requirements

iOS 4.0, Mac OSX 10.7

ARC Support

No

##Todo

  • add more test cases and support for international standards

Contact

Tomek Kuźma (mapedd)

License

NSString+TextAndNumberValidation is available under the MIT license. See the LICENSE file for more info.