LuxChat  2.0
Instant messenger for iOS
Class Methods | List of all members
FBSDKUtility Class Reference

#import <FBSDKUtility.h>

Inheritance diagram for FBSDKUtility:

Class Methods

(NSDictionary *) + dictionaryWithQueryString:
 
(NSString *) + queryStringWithDictionary:error:
 
(NSString *) + URLDecode:
 
(NSString *) + URLEncode:
 

Detailed Description

Class to contain common utility methods.

Method Documentation

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

Parses a query string into a dictionary.

Parameters
queryStringThe query string value.
Returns
A dictionary with the key/value pairs.
+ (NSString *) queryStringWithDictionary: (NSDictionary *)  dictionary
error: (NSError *__autoreleasing *)  errorRef 

Constructs a query string from a dictionary.

Parameters
dictionaryThe dictionary with key/value pairs for the query string.
errorRefIf an error occurs, upon return contains an NSError object that describes the problem.
Returns
Query string representation of the parameters.
+ (NSString *) URLDecode: (NSString *)  value

Decodes a value from an URL.

Parameters
valueThe value to decode.
Returns
The decoded value.
+ (NSString *) URLEncode: (NSString *)  value

Encodes a value for an URL.

Parameters
valueThe value to encode.
Returns
The encoded value.

The documentation for this class was generated from the following file: