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/FBSDKGameRequestContent.h | 29 ++++++++++-------------------
1 files changed, 10 insertions(+), 19 deletions(-)
diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h
index 0591207..80972ed 100644
--- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h
+++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h
@@ -21,6 +21,8 @@
#import <FBSDKCoreKit/FBSDKCopying.h>
#import <FBSDKShareKit/FBSDKSharingValidation.h>
+NS_ASSUME_NONNULL_BEGIN
+
/**
NS_ENUM(NSUInteger, FBSDKGameRequestActionType)
Additional context about the nature of the request.
@@ -35,7 +37,7 @@
FBSDKGameRequestActionTypeAskFor,
/** Turn action type: It is the turn of the friends to play against the user in a match. (no object) */
FBSDKGameRequestActionTypeTurn,
-};
+} NS_SWIFT_NAME(GameRequestActionType);
/**
NS_ENUM(NSUInteger, FBSDKGameRequestFilters)
@@ -49,11 +51,12 @@
FBSDKGameRequestFilterAppUsers,
/** Friends not using the app can be displayed. */
FBSDKGameRequestFilterAppNonUsers,
-};
+} NS_SWIFT_NAME(GameRequestFilter);
/**
A model for a game request.
*/
+NS_SWIFT_NAME(GameRequestContent)
@interface FBSDKGameRequestContent : NSObject <FBSDKCopying, FBSDKSharingValidation, NSSecureCoding>
/**
@@ -77,7 +80,7 @@
Additional freeform data you may pass for tracking. This will be stored as part of
the request objects created. The maximum length is 255 characters.
*/
-@property (nonatomic, copy) NSString *data;
+@property (nonatomic, copy, nullable) NSString *data;
/**
This controls the set of friends someone sees if a multi-friend selector is shown.
@@ -110,7 +113,7 @@
This is equivalent to the "to" parameter when using the web game request dialog.
*/
-@property (nonatomic, copy) NSArray *recipients;
+@property (nonatomic, copy) NSArray<NSString *> *recipients;
/**
An array of user IDs that will be included in the dialog as the first suggested friends.
@@ -118,25 +121,13 @@
This is equivalent to the "suggestions" parameter when using the web game request dialog.
*/
-@property (nonatomic, copy) NSArray *recipientSuggestions;
-
-/**
-
-@warning Use `recipientSuggestions` instead.
-*/
-@property (nonatomic, copy) NSArray *suggestions
-DEPRECATED_MSG_ATTRIBUTE("use recipientSuggestions instead");
+@property (nonatomic, copy) NSArray<NSString *> *recipientSuggestions;
/**
The title for the dialog.
*/
@property (nonatomic, copy) NSString *title;
-/**
-
-@warning Use `recipients` instead.
- */
-@property (nonatomic, copy) NSArray *to
-DEPRECATED_MSG_ATTRIBUTE("use recipients instead");
-
@end
+
+NS_ASSUME_NONNULL_END
--
Gitblit v1.8.0