NSString-Helper 1.2.0

NSString-Helper 1.2.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release May 2018

Maintained by Giuseppe Nucifora.



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, [email protected]

License

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