| | |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | Class to contain common utility methods. |
| | | */ |
| | | /// Class to contain common utility methods. |
| | | NS_SWIFT_NAME(Utility) |
| | | @interface FBSDKUtility : NSObject |
| | | |
| | |
| | | + (instancetype)new NS_UNAVAILABLE; |
| | | |
| | | /** |
| | | Parses a query string into a dictionary. |
| | | Parses a query string into a dictionary. |
| | | @param queryString The query string value. |
| | | @return A dictionary with the key/value pairs. |
| | | */ |
| | |
| | | // UNCRUSTIFY_FORMAT_ON |
| | | |
| | | /** |
| | | Constructs a query string from a dictionary. |
| | | Constructs a query string from a dictionary. |
| | | @param dictionary The dictionary with key/value pairs for the query string. |
| | | @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. |
| | | @return Query string representation of the parameters. |
| | |
| | | // UNCRUSTIFY_FORMAT_ON |
| | | |
| | | /** |
| | | Decodes a value from an URL. |
| | | Decodes a value from an URL. |
| | | @param value The value to decode. |
| | | @return The decoded value. |
| | | */ |
| | |
| | | // UNCRUSTIFY_FORMAT_ON |
| | | |
| | | /** |
| | | Encodes a value for an URL. |
| | | Encodes a value for an URL. |
| | | @param value The value to encode. |
| | | @return The encoded value. |
| | | */ |
| | |
| | | // UNCRUSTIFY_FORMAT_ON |
| | | |
| | | /** |
| | | Creates a timer using Grand Central Dispatch. |
| | | Creates a timer using Grand Central Dispatch. |
| | | @param interval The interval to fire the timer, in seconds. |
| | | @param block The code block to execute when timer is fired. |
| | | @return The dispatch handle. |
| | |
| | | NS_SWIFT_NAME(sha256Hash(_:)); |
| | | // UNCRUSTIFY_FORMAT_ON |
| | | |
| | | /** |
| | | Returns the graphdomain stored in FBSDKAuthenticationToken |
| | | */ |
| | | + (NSString *)getGraphDomainFromToken; |
| | | /// Returns the graphdomain stored in FBSDKAuthenticationToken |
| | | + (nullable NSString *)getGraphDomainFromToken; |
| | | |
| | | /** |
| | | Internal Type exposed to facilitate transition to Swift. |