43 lines
1.2 KiB
Markdown
43 lines
1.2 KiB
Markdown
# NSString-Helper
|
|
|
|
[](https://travis-ci.org/Giuseppe Nucifora/NSString-Helper)
|
|
[](http://cocoapods.org/pods/NSString-Helper)
|
|
[](http://cocoapods.org/pods/NSString-Helper)
|
|
[](http://cocoapods.org/pods/NSString-Helper)
|
|
|
|
## 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](http://cocoapods.org). To install
|
|
it, simply add the following line to your Podfile:
|
|
|
|
```ruby
|
|
pod 'NSString-Helper' , :git => 'https://github.com/giuseppenucifora/NSString-Helper.git'
|
|
|
|
OR
|
|
|
|
pod 'NSString-Helper'
|
|
```
|
|
##Usage
|
|
|
|
```ruby
|
|
NSString *str = @"testCode";
|
|
|
|
NSLog(@"%@",[NSNumber numberWithBool:[str isNumeric]]);
|
|
|
|
NSLog(@"%@",[NSNumber numberWithBool:[str isValidEmail]]);
|
|
```
|
|
|
|
## Author
|
|
|
|
Giuseppe Nucifora, me@giuseppenucifora.com
|
|
|
|
## License
|
|
|
|
NSString-Helper is available under the MIT license. See the LICENSE file for more info.
|