..
2016-04-08 14:18:29 +02:00
2016-01-16 17:45:06 +01:00
2016-01-26 00:29:37 +01:00

NSString-Helper

[![CI Status](http://img.shields.io/travis/Giuseppe Nucifora/NSString-Helper.svg?style=flat)](https://travis-ci.org/Giuseppe Nucifora/NSString-Helper) Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

NSString-Helper is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'NSString-Helper'

##Usage


#import <NSString-Helper/NSString+Helper.h>

NSString *str = @"testCode";

NSLog(@"%@",[NSNumber numberWithBool:[str isNumeric]]);

NSLog(@"%@",[NSNumber numberWithBool:[str isValidPhoneNumber]]);

NSLog(@"%@",[NSNumber numberWithBool:[str isValidEmail]]);

NSLog(@"%@",[NSNumber numberWithBool:[str isValidUrl]]);

NSLog(@"%@",[NSNumber numberWithBool:[str isValidTaxCode]]);


Author

Giuseppe Nucifora, me@giuseppenucifora.com

License

NSString-Helper is available under the MIT license. See the LICENSE file for more info.