From e81c27b13950ca02baa879ae7b8108c0c3ef7fb0 Mon Sep 17 00:00:00 2001
From: hank <hank.zhang@proficientcity.com>
Date: Thu, 20 Jun 2019 09:47:31 +0800
Subject: [PATCH] 添加V3.8.2

---
 frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h
index 142702d..7b529e0 100644
--- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h
+++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h
@@ -21,16 +21,22 @@
 #import <FBSDKShareKit/FBSDKShareMessengerActionButton.h>
 #import <FBSDKShareKit/FBSDKSharingContent.h>
 
+NS_ASSUME_NONNULL_BEGIN
+
 typedef NS_ENUM(NSUInteger, FBSDKShareMessengerMediaTemplateMediaType) {
   FBSDKShareMessengerMediaTemplateMediaTypeImage = 0,
   FBSDKShareMessengerMediaTemplateMediaTypeVideo
-};
+} NS_SWIFT_NAME(ShareMessengerMediaTemplateMediaType);
 
 /**
  A model for sharing media template content. See
  https://developers.facebook.com/docs/messenger-platform/send-messages/template/media for details.
  */
+NS_SWIFT_NAME(ShareMessengerMediaTemplateContent)
 @interface FBSDKShareMessengerMediaTemplateContent : NSObject <FBSDKSharingContent>
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
 
 /**
  The media type (image or video) for this content. This must match the media type specified in the
@@ -41,19 +47,19 @@
 /**
  The attachmentID of the item to share. Optional, but either attachmentID or mediaURL must be specified.
  */
-@property (nonatomic, copy, readonly) NSString *attachmentID;
+@property (nonatomic, copy, readonly, nullable) NSString *attachmentID;
 
 /**
  The Facebook url for this piece of media. External urls will not work; this must be a Facebook url.
  See https://developers.facebook.com/docs/messenger-platform/send-messages/template/media for details.
  Optional, but either attachmentID or mediaURL must be specified.
  */
-@property (nonatomic, copy, readonly) NSURL *mediaURL;
+@property (nonatomic, copy, readonly, nullable) NSURL *mediaURL;
 
 /**
  This specifies what action button to show below the media. Optional.
  */
-@property (nonatomic, copy) id<FBSDKShareMessengerActionButton> button;
+@property (nonatomic, copy, nullable) id<FBSDKShareMessengerActionButton> button;
 
 /**
  Custom initializer to create media template share with attachment id.
@@ -67,3 +73,5 @@
 - (instancetype)initWithMediaURL:(NSURL *)mediaURL;
 
 @end
+
+NS_ASSUME_NONNULL_END

--
Gitblit v1.8.0