From 17e981a3c4cd9b41283ebe7e8dcbbce26d282a8a Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Thu, 30 Aug 2018 09:25:54 +0800 Subject: [PATCH] [Update] WAFbImpl (3.7.0) --- frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h | 52 +++++++++++++++++++++++++++++++++------------------- 1 files changed, 33 insertions(+), 19 deletions(-) diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h index 46c490b..abd0efa 100644 --- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h +++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h @@ -18,38 +18,52 @@ #import <Foundation/Foundation.h> -/*! - @abstract Class to contain common utility methods. +/** + Class to contain common utility methods. */ @interface FBSDKUtility : NSObject -/*! - @abstract Parses a query string into a dictionary. - @param queryString The query string value. - @return A dictionary with the key/value pairs. +/** + 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; -/*! - @abstract 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. - @result Query string representation of the parameters. +/** + 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; -/*! - @abstract Decodes a value from an URL. - @param value The value to decode. - @result The decoded value. +/** + Decodes a value from an URL. + - Parameter value: The value to decode. + - Returns: The decoded value. */ + (NSString *)URLDecode:(NSString *)value; -/*! - @abstract Encodes a value for an URL. - @param value The value to encode. - @result The encoded value. +/** + Encodes a value for an URL. + - Parameter value: The value to encode. + - Returns: The encoded value. */ + (NSString *)URLEncode:(NSString *)value; +/** + Creates a timer using Grand Central Dispatch. + - Parameter interval: The interval to fire the timer, in seconds. + - Parameter block: The code block to execute when timer is fired. + - Returns: The dispatch handle. + */ ++ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; + +/** + Stop a timer that was started by startGCDTimerWithInterval. + - Parameter timer: The dispatch handle received from startGCDTimerWithInterval. + */ ++ (void)stopGCDTimer:(dispatch_source_t)timer; + @end -- Gitblit v1.8.0