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/FBSDKGraphErrorRecoveryProcessor.h | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h
index e57c797..36d9ba9 100644
--- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h
+++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h
@@ -31,7 +31,7 @@
NS_ASSUME_NONNULL_BEGIN
@class FBSDKGraphErrorRecoveryProcessor;
-@class FBSDKGraphRequest;
+@protocol FBSDKGraphRequest;
/**
Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`.
@@ -96,9 +96,10 @@
@interface FBSDKGraphErrorRecoveryProcessor : NSObject
/**
- Gets the delegate. Note this is a strong reference, and is nil'ed out after recovery is complete.
+ Gets the delegate for the current error being processed.
*/
-@property (nonatomic, strong, readonly, nullable) id<FBSDKGraphErrorRecoveryProcessorDelegate>delegate;
+@property (nonatomic, weak, readonly, nullable) id<FBSDKGraphErrorRecoveryProcessorDelegate>delegate
+DEPRECATED_MSG_ATTRIBUTE("FBSDKGraphErrorRecoveryProcessor's delegate will be removed in the next major version release.");
/**
Attempts to process the error, return YES if the error can be processed.
@@ -107,7 +108,7 @@
@param delegate the delegate that will be retained until recovery is complete.
*/
- (BOOL)processError:(NSError *)error
- request:(FBSDKGraphRequest *)request
+ request:(id<FBSDKGraphRequest>)request
delegate:(nullable id<FBSDKGraphErrorRecoveryProcessorDelegate>)delegate;
/**
@@ -115,7 +116,8 @@
@param didRecover if the recovery succeeded
@param contextInfo unused
*/
-- (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(nullable void *)contextInfo;
+- (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(nullable void *)contextInfo
+DEPRECATED_MSG_ATTRIBUTE("didPresentErrorWithRecovery:contextInfo: will be removed in the next major version release.");
@end
--
Gitblit v1.8.0