-
Notifications
You must be signed in to change notification settings - Fork 0
/
Validate.h
executable file
·32 lines (26 loc) · 985 Bytes
/
Validate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// Validate.h
// ValidationCode
//
// Created by MDV on 21/01/12.
// Copyright 2012. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Validate : NSObject {
}
+ (BOOL) isPasswordValid:(NSString *)pwd;
+ (BOOL) isEmpty:(NSString *) candidate;
+ (BOOL) isValidEmailAddress:(NSString *) candidate;
+ (BOOL) isAlphabetsOnly:(NSString *) candidate;
+ (BOOL) isNumbersOnly:(NSString *) candidate;
+ (BOOL) isAlphaNumeric:(NSString *) candidate;
+ (BOOL) lenghtVaidation:(NSString *) candidate withMinSize:(NSInteger)minSize andMaxSize:(NSInteger)maxSize;
+ (BOOL) isValidURL:(NSString *) candidate;
+ (BOOL) isValidPhoneNumber:(NSString *) candidate;
+ (BOOL) isValidCard:(NSString *) candidate;
+ (BOOL) isValidPattern:(NSString *) candidate;
+ (BOOL) isDesimalNumbersOnly:(NSString *) candidate;
+ (BOOL) isFedAlphaNumeric:(NSString *) candidate;
+ (BOOL) isValideUserName:(NSString *) candidate;
+ (BOOL) isAlphaNumericZipcode:(NSString *) candidate;
@end