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/FBSDKGraphRequest.h | 20 +++++--------------- 1 files changed, 5 insertions(+), 15 deletions(-) diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h index 28f8581..594158f 100644 --- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h +++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h @@ -18,23 +18,13 @@ #import <Foundation/Foundation.h> -#import "FBSDKGraphRequestConnection.h" +#import "FBSDKGraphRequestProtocol.h" +#import "FBSDKGraphRequestHTTPMethod.h" NS_ASSUME_NONNULL_BEGIN @class FBSDKAccessToken; - -/// typedef for FBSDKHTTPMethod -typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); - -/// GET Request -FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodGET NS_SWIFT_NAME(get); - -/// POST Request -FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodPOST NS_SWIFT_NAME(post); - -/// DELETE Request -FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodDELETE NS_SWIFT_NAME(delete); +@protocol FBSDKGraphRequestConnecting; /** Represents a request to the Facebook Graph API. @@ -56,7 +46,7 @@ @see FBSDKGraphErrorRecoveryProcessor */ NS_SWIFT_NAME(GraphRequest) -@interface FBSDKGraphRequest : NSObject +@interface FBSDKGraphRequest : NSObject <FBSDKGraphRequest> - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -151,7 +141,7 @@ Starts a connection to the Graph API. @param handler The handler block to call when the request completes. */ -- (FBSDKGraphRequestConnection *)startWithCompletionHandler:(nullable FBSDKGraphRequestBlock)handler; +- (id<FBSDKGraphRequestConnecting>)startWithCompletionHandler:(nullable FBSDKGraphRequestBlock)handler; @end -- Gitblit v1.8.0