Inherits from NSObject
Declared in FBSDKUtility.h

Overview

Class to contain common utility methods.

Class Methods

URLDecode:

Decodes a value from an URL. - Parameter value: The value to decode. - Returns: The decoded value.

+ (NSString *)URLDecode:(NSString *)value

Declared In

FBSDKUtility.h

URLEncode:

Encodes a value for an URL. - Parameter value: The value to encode. - Returns: The encoded value.

+ (NSString *)URLEncode:(NSString *)value

Declared In

FBSDKUtility.h

dictionaryWithQueryString:

Parses a query string into a dictionary. - Parameter queryString: The query string value. - Returns: A dictionary with the key/value pairs.

+ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString

Declared In

FBSDKUtility.h

queryStringWithDictionary:error:

Constructs a query string from a dictionary. - Parameter dictionary: The dictionary with key/value pairs for the query string. - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem. - Returns: Query string representation of the parameters.

+ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary error:(NSError *__autoreleasing *)errorRef

Declared In

FBSDKUtility.h