Validation of popular standards in Objective-C : PESEL, NIP, REGON, LUHN, IBANN
Objective-C Groff Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
NSString+TextAndNumberValidation.xcodeproj
NSString+TextAndNumberValidation
TextAndNumberValidation_test
.gitignore
LICENCE
NSString+TextAndNumberValidation.h
NSString+TextAndNumberValidation.m
NSString+TextAndNumberValidation.podspec
README.md
urzedy_skarbowe_NIP

README.md

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.