Class to contain common utility methods.
Superclass: | NSObject |
Declared in: | FBSDKUtility.h |
dictionaryWithQueryString:
Parses a query string into a dictionary.
Параметр | Описание |
---|---|
queryString | The query string value. |
+ (NSDictionary *)
dictionaryWithQueryString:(NSString *)queryString;
FBSDKUtility.h
queryStringWithDictionary:error:
Constructs a query string from a dictionary.
Параметр | Описание |
---|---|
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. |
+ (NSString *)
queryStringWithDictionary: | (NSDictionary *)dictionary |
error: | (NSError *__autoreleasing *)errorRef; |
FBSDKUtility.h
URLDecode:
Decodes a value from an URL.
Параметр | Описание |
---|---|
value | The value to decode. |
+ (NSString *)
URLDecode:(NSString *)value;
FBSDKUtility.h
URLEncode:
Encodes a value for an URL.
Параметр | Описание |
---|---|
value | The value to encode. |
+ (NSString *)
URLEncode:(NSString *)value;
FBSDKUtility.h