- Fix Vari
This commit is contained in:
1 parent
f569c8545c
commit
7e5a6149a8
28 files changed
+1162
-862
No files matched your search
Generated
+5
-4
@@ -17,19 +17,20 @@ NSString-Helper is available through [CocoaPods](http://cocoapods.org). To insta
|
||||
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
|
||||
|
||||
#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]]);
|
||||
|
||||
Reference in new issue
Block a user