SPiDUtils Class Reference
| Inherits from | NSObject |
| Declared in | SPiDUtils.h SPiDUtils.m |
Tasks
Public methods
-
+ encodedHttpQueryForDictionary:Encodes dictionary to a http query
-
+ encodedHttpBodyForDictionary:Encodes dictionary to a http post body
-
+ urlEncodeString:URL encodes the specified string
-
+ getUrlParameter:forKey:Extracts a query parameter from a URL
-
+ validateEmail:Validates a email address
Class Methods
encodedHttpBodyForDictionary:
Encodes dictionary to a http post body
+ (NSString *)encodedHttpBodyForDictionary:(NSDictionary *)dictionaryParameters
- dictionary
The dictionary to be encoded
Return Value
The http post body
Declared In
SPiDUtils.hencodedHttpQueryForDictionary:
Encodes dictionary to a http query
+ (NSString *)encodedHttpQueryForDictionary:(NSDictionary *)dictionaryParameters
- dictionary
The dictionary to be encoded
Return Value
The http query
Declared In
SPiDUtils.hgetUrlParameter:forKey:
Extracts a query parameter from a URL
+ (NSString *)getUrlParameter:(NSURL *)url forKey:(NSString *)keyParameters
- url
URL
- key
Parameter to be found
Return Value
Value for the specified key otherwise nil
Declared In
SPiDUtils.h