From b19a78b27247f5f0761c35b5b3e8a41876eabb05 Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 20 Apr 2021 17:18:32 +0800
Subject: [PATCH] no message

---
 frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h |   56 +++++++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 39 insertions(+), 17 deletions(-)

diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h
index abd0efa..13c4a5d 100644
--- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h
+++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h
@@ -18,52 +18,74 @@
 
 #import <Foundation/Foundation.h>
 
+NS_ASSUME_NONNULL_BEGIN
+
 /**
   Class to contain common utility methods.
  */
+NS_SWIFT_NAME(Utility)
 @interface FBSDKUtility : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
 
 /**
   Parses a query string into a dictionary.
- - Parameter queryString: The query string value.
- - Returns: A dictionary with the key/value pairs.
+ @param queryString The query string value.
+ @return A dictionary with the key/value pairs.
  */
-+ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString;
++ (NSDictionary<NSString *, NSString *> *)dictionaryWithQueryString:(NSString *)queryString
+NS_SWIFT_NAME(dictionary(withQuery:));
 
 /**
   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.
+ @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.
  */
-+ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary error:(NSError *__autoreleasing *)errorRef;
++ (NSString *)queryStringWithDictionary:(NSDictionary<NSString *, id> *)dictionary
+                                  error:(NSError **)errorRef
+NS_SWIFT_NAME(query(from:))
+__attribute__((swift_error(nonnull_error)));
 
 /**
   Decodes a value from an URL.
- - Parameter value: The value to decode.
- - Returns: The decoded value.
+ @param value The value to decode.
+ @return The decoded value.
  */
-+ (NSString *)URLDecode:(NSString *)value;
++ (NSString *)URLDecode:(NSString *)value
+NS_SWIFT_NAME(decode(urlString:));
 
 /**
   Encodes a value for an URL.
- - Parameter value: The value to encode.
- - Returns: The encoded value.
+ @param value The value to encode.
+ @return The encoded value.
  */
-+ (NSString *)URLEncode:(NSString *)value;
++ (NSString *)URLEncode:(NSString *)value
+NS_SWIFT_NAME(encode(urlString:));
 
 /**
   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.
+ @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.
  */
 + (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.
+ @param timer The dispatch handle received from startGCDTimerWithInterval.
  */
 + (void)stopGCDTimer:(dispatch_source_t)timer;
 
+/**
+ Get SHA256 hased string of NSString/NSData
+
+ @param input The data that needs to be hashed, it could be NSString or NSData.
+ */
++ (nullable NSString *)SHA256Hash:(nullable NSObject *)input
+NS_SWIFT_NAME(sha256Hash(_:));
+
 @end
+
+NS_ASSUME_NONNULL_END

--
Gitblit v1.8.0