Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Validation of popular standards in Objective-C : PESEL, NIP, REGON, LUHN, IBANN
Objective-C Groff Ruby
Branch: master

Merge pull request #4 from ened/patch-1

Remove compile warning, fix typo
latest commit ad9904fceb
@mapedd authored
Failed to load latest commit information.
NSString+TextAndNumberValidation.xcodeproj [refactor] Convert OCUnit to XCTest
NSString+TextAndNumberValidation - added tests
TextAndNumberValidation_test [refactor] Convert OCUnit to XCTest
.gitignore - changed telephone number validation code
LICENCE Init, should work
NSString+TextAndNumberValidation.h [refactor] Fix method "isValidTelephoneNumberWithMinimalLength" name
NSString+TextAndNumberValidation.m Merge pull request #4 from ened/patch-1
NSString+TextAndNumberValidation.podspec - changed telephone number validation code
README.md
urzedy_skarbowe_NIP Init, should work

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.

Something went wrong with that request. Please try again.