From afd70759b9bf1bd99c9a5f3578ce2c5474090340 Mon Sep 17 00:00:00 2001 From: Wuyx <1139965056@qq.com> Date: Tue, 17 Jan 2017 12:12:30 +0800 Subject: [PATCH] WAFbImpl --- frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h | 99 +++++++++++++++++++++++-------------------------- 1 files changed, 47 insertions(+), 52 deletions(-) diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h index 05b26ff..460ac28 100644 --- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h +++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h @@ -22,80 +22,75 @@ @protocol FBSDKAppGroupAddDialogDelegate; -/*! - @abstract A dialog for creating app groups. +/** + +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ +__attribute__ ((deprecated)) @interface FBSDKAppGroupAddDialog : NSObject -/*! - @abstract Convenience method to build up an app group dialog with content and a delegate. - @param content The content for the app group. - @param delegate The receiver's delegate. +/** + +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ + (instancetype)showWithContent:(FBSDKAppGroupContent *)content - delegate:(id<FBSDKAppGroupAddDialogDelegate>)delegate; + delegate:(id<FBSDKAppGroupAddDialogDelegate>)delegate __attribute__ ((deprecated)); -/*! - @abstract The receiver's delegate or nil if it doesn't have a delegate. - */ -@property (nonatomic, weak) id<FBSDKAppGroupAddDialogDelegate> delegate; +/** -/*! - @abstract The content for app group. +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ -@property (nonatomic, copy) FBSDKAppGroupContent *content; +@property (nonatomic, weak) id<FBSDKAppGroupAddDialogDelegate> delegate __attribute__ ((deprecated)); -/*! - @abstract A Boolean value that indicates whether the receiver can initiate an app group dialog. - @discussion 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 validateWithError: - @result YES if the receiver can share, otherwise NO. - */ -- (BOOL)canShow; +/** -/*! - @abstract Begins the app group dialog from the receiver. - @result YES if the receiver was able to show the dialog, otherwise NO. +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ -- (BOOL)show; +@property (nonatomic, copy) FBSDKAppGroupContent *content __attribute__ ((deprecated)); -/*! - @abstract 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. +/** + +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ -- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef; +- (BOOL)canShow __attribute__ ((deprecated)); + +/** + +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. + */ +- (BOOL)show __attribute__ ((deprecated)); + +/** + +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. + */ +- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef __attribute__ ((deprecated)); @end -/*! - @abstract A delegate for FBSDKAppGroupAddDialog. - @discussion The delegate is notified with the results of the app group request as long as the application has - permissions to receive the information. For example, if the person is not signed into the containing app, the shower - may not be able to distinguish between completion of an app group request and cancellation. +/** + +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ +__attribute__ ((deprecated)) @protocol FBSDKAppGroupAddDialogDelegate <NSObject> -/*! - @abstract Sent to the delegate when the app group request completes without error. - @param appGroupAddDialog The FBSDKAppGroupAddDialog that completed. - @param results The results from the dialog. This may be nil or empty. - */ -- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didCompleteWithResults:(NSDictionary *)results; +/** -/*! - @abstract Sent to the delegate when the app group request encounters an error. - @param appGroupAddDialog The FBSDKAppGroupAddDialog that completed. - @param error The error. +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ -- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didFailWithError:(NSError *)error; +- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didCompleteWithResults:(NSDictionary *)results __attribute__ ((deprecated)); -/*! - @abstract Sent to the delegate when the app group dialog is cancelled. - @param appGroupAddDialog The FBSDKAppGroupAddDialog that completed. +/** + +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ -- (void)appGroupAddDialogDidCancel:(FBSDKAppGroupAddDialog *)appGroupAddDialog; +- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didFailWithError:(NSError *)error __attribute__ ((deprecated)); + +/** + +- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. + */ +- (void)appGroupAddDialogDidCancel:(FBSDKAppGroupAddDialog *)appGroupAddDialog __attribute__ ((deprecated)); @end -- Gitblit v1.8.0