FBSDKUtility Class Reference
Inherits from | NSObject |
Declared in | FBSDKUtility.h |
Class Methods
URLDecode:
Decodes a value from an URL.
+ (NSString *)URLDecode:(NSString *)value
Parameters
- value
The value to decode.
Return Value
The decoded value.
Declared In
FBSDKUtility.h
URLEncode:
Encodes a value for an URL.
+ (NSString *)URLEncode:(NSString *)value
Parameters
- value
The value to encode.
Return Value
The encoded value.
Declared In
FBSDKUtility.h
dictionaryWithQueryString:
Parses a query string into a dictionary.
+ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString
Parameters
- queryString
The query string value.
Return Value
A dictionary with the key/value pairs.
Declared In
FBSDKUtility.h
queryStringWithDictionary:error:
Constructs a query string from a dictionary.
+ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary error:(NSError *__autoreleasing *)errorRef
Parameters
- dictionary
The dictionary with key/value pairs for the query string.
- errorRef
If an error occurs, upon return contains an NSError object that describes the problem.
Return Value
Query string representation of the parameters.
Declared In
FBSDKUtility.h