From 49b8839fda3439edc31581527e84036e58f55f0f Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 26 Jan 2021 09:43:00 +0800
Subject: [PATCH] 3.9.2

---
 frameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h |   82 +++++++++++++++++++++++-----------------
 1 files changed, 47 insertions(+), 35 deletions(-)

diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h
index d6d373e..6775d5d 100644
--- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h
+++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h
@@ -18,37 +18,42 @@
 
 #import <Foundation/Foundation.h>
 
-#import <FBSDKShareKit/FBSDKSharingContent.h>
+#import "FBSDKSharingContent.h"
+
+NS_ASSUME_NONNULL_BEGIN
 
 @protocol FBSDKSharingDelegate;
 
-/*!
- @abstract The common interface for components that initiate sharing.
+/**
+  The common interface for components that initiate sharing.
+
  @see FBSDKShareDialog
+
  @see FBSDKMessageDialog
- @see FBSDKShareAPI
  */
+NS_SWIFT_NAME(Sharing)
 @protocol FBSDKSharing <NSObject>
 
-/*!
- @abstract The receiver's delegate or nil if it doesn't have a delegate.
+/**
+  The receiver's delegate or nil if it doesn't have a delegate.
  */
 @property (nonatomic, weak) id<FBSDKSharingDelegate> delegate;
 
-/*!
- @abstract The content to be shared.
+/**
+  The content to be shared.
  */
 @property (nonatomic, copy) id<FBSDKSharingContent> shareContent;
 
-/*!
- @abstract A Boolean value that indicates whether the receiver should fail if it finds an error with the share content.
- @discussion If NO, the sharer will still be displayed without the data that was mis-configured.  For example, an
+/**
+  A Boolean value that indicates whether the receiver should fail if it finds an error with the share content.
+
+ If NO, the sharer will still be displayed without the data that was mis-configured.  For example, an
  invalid placeID specified on the shareContent would produce a data error.
  */
 @property (nonatomic, assign) BOOL shouldFailOnDataError;
 
-/*!
- @abstract Validates the content on the receiver.
+/**
+  Validates the content on the receiver.
  @param errorRef If an error occurs, upon return contains an NSError object that describes the problem.
  @return YES if the content is valid, otherwise NO.
  */
@@ -56,55 +61,62 @@
 
 @end
 
-/*!
- @abstract The common interface for dialogs that initiate sharing.
+/**
+  The common interface for dialogs that initiate sharing.
  */
+NS_SWIFT_NAME(SharingDialog)
 @protocol FBSDKSharingDialog <FBSDKSharing>
 
-/*!
- @abstract A Boolean value that indicates whether the receiver can initiate a share.
- @discussion May return NO if the appropriate Facebook app is not installed and is required or an access token is
+/**
+  A Boolean value that indicates whether the receiver can initiate a share.
+
+ May return NO if the appropriate Facebook app is not installed and is required or an access token is
  required but not available.  This method does not validate the content on the receiver, so this can be checked before
  building up the content.
- @see [FBSDKSharing validateWithError:]
- @result YES if the receiver can share, otherwise NO.
- */
-- (BOOL)canShow;
 
-/*!
- @abstract Shows the dialog.
- @result YES if the receiver was able to begin sharing, otherwise NO.
+ @see [FBSDKSharing validateWithError:]
+ @return YES if the receiver can share, otherwise NO.
+ */
+@property (nonatomic, readonly) BOOL canShow;
+
+/**
+  Shows the dialog.
+ @return YES if the receiver was able to begin sharing, otherwise NO.
  */
 - (BOOL)show;
 
 @end
 
-/*!
- @abstract A delegate for FBSDKSharing.
- @discussion The delegate is notified with the results of the sharer as long as the application has permissions to
+/**
+  A delegate for FBSDKSharing.
+
+ The delegate is notified with the results of the sharer as long as the application has permissions to
  receive the information.  For example, if the person is not signed into the containing app, the sharer may not be able
  to distinguish between completion of a share and cancellation.
  */
+NS_SWIFT_NAME(SharingDelegate)
 @protocol FBSDKSharingDelegate <NSObject>
 
-/*!
- @abstract Sent to the delegate when the share completes without error or cancellation.
+/**
+  Sent to the delegate when the share completes without error or cancellation.
  @param sharer The FBSDKSharing that completed.
  @param results The results from the sharer.  This may be nil or empty.
  */
-- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results;
+- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary<NSString *, id> *)results;
 
-/*!
- @abstract Sent to the delegate when the sharer encounters an error.
+/**
+  Sent to the delegate when the sharer encounters an error.
  @param sharer The FBSDKSharing that completed.
  @param error The error.
  */
 - (void)sharer:(id<FBSDKSharing>)sharer didFailWithError:(NSError *)error;
 
-/*!
- @abstract Sent to the delegate when the sharer is cancelled.
+/**
+  Sent to the delegate when the sharer is cancelled.
  @param sharer The FBSDKSharing that completed.
  */
 - (void)sharerDidCancel:(id<FBSDKSharing>)sharer;
 
 @end
+
+NS_ASSUME_NONNULL_END

--
Gitblit v1.8.0