From 7cdaa24f3ba637804aca9247ae809c4cc1acc6ed Mon Sep 17 00:00:00 2001 From: lipengwei <lipengwei@nianben.com> Date: Wed, 27 May 2020 09:41:28 +0800 Subject: [PATCH] 3.8.4 --- frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h | 34 ++++++++++++++-------------------- 1 files changed, 14 insertions(+), 20 deletions(-) diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h index a742826..80972ed 100644 --- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h +++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h @@ -19,6 +19,9 @@ #import <Foundation/Foundation.h> #import <FBSDKCoreKit/FBSDKCopying.h> +#import <FBSDKShareKit/FBSDKSharingValidation.h> + +NS_ASSUME_NONNULL_BEGIN /** NS_ENUM(NSUInteger, FBSDKGameRequestActionType) @@ -34,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) @@ -48,12 +51,13 @@ FBSDKGameRequestFilterAppUsers, /** Friends not using the app can be displayed. */ FBSDKGameRequestFilterAppNonUsers, -}; +} NS_SWIFT_NAME(GameRequestFilter); /** A model for a game request. */ -@interface FBSDKGameRequestContent : NSObject <FBSDKCopying, NSSecureCoding> +NS_SWIFT_NAME(GameRequestContent) +@interface FBSDKGameRequestContent : NSObject <FBSDKCopying, FBSDKSharingValidation, NSSecureCoding> /** Used when defining additional context about the nature of the request. @@ -67,8 +71,8 @@ /** Compares the receiver to another game request content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent *)content; @@ -76,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. @@ -109,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. @@ -117,23 +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 __attribute__ ((deprecated("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 __attribute__ ((deprecated("use recipients instead"))); - @end + +NS_ASSUME_NONNULL_END -- Gitblit v1.8.0