From 13e53a03f4d50169d0cf7f72d414753ae6b421ce Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Tue, 22 Jan 2019 11:04:39 +0800 Subject: [PATCH] 添加V3.8.0 --- frameworks/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h | 44 +++++++++++++++++++++++--------------------- 1 files changed, 23 insertions(+), 21 deletions(-) diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h index 7d2e0ac..7373639 100644 --- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h +++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h @@ -20,26 +20,24 @@ @class FBSDKAccessToken; -/*! - @typedef +/** - @abstract Callback block for returning an array of FBSDKAccessToken instances (and possibly `NSNull` instances); or an error. + Callback block for returning an array of FBSDKAccessToken instances (and possibly `NSNull` instances); or an error. */ typedef void (^FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)(NSArray *tokens, NSError *error) ; -/*! - @typedef +/** - @abstract Callback block for removing a test user. + Callback block for removing a test user. */ typedef void (^FBSDKTestUsersManagerRemoveTestAccountHandler)(NSError *error) ; -/*! - @class FBSDKTestUsersManager - @abstract Provides methods for managing test accounts for testing Facebook integration. +/** + Provides methods for managing test accounts for testing Facebook integration. - @discussion Facebook allows developers to create test accounts for testing their applications' + + Facebook allows developers to create test accounts for testing their applications' Facebook integration (see https://developers.facebook.com/docs/test_users/). This class simplifies use of these accounts for writing tests. It is not designed for use in production application code. @@ -50,15 +48,18 @@ */ @interface FBSDKTestUsersManager : NSObject -/*! - @abstract construct or return the shared instance +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + construct or return the shared instance @param appID the Facebook app id @param appSecret the Facebook app secret */ + (instancetype)sharedInstanceForAppID:(NSString *)appID appSecret:(NSString *)appSecret; -/*! - @abstract retrieve FBSDKAccessToken instances for test accounts with the specific permissions. +/** + retrieve FBSDKAccessToken instances for test accounts with the specific permissions. @param arraysOfPermissions an array of permissions sets, such as @[ [NSSet setWithObject:@"email"], [NSSet setWithObject:@"user_birthday"]] if you needed two test accounts with email and birthday permissions, respectively. You can pass in empty nested sets if you need two arbitrary test accounts. For convenience, passing nil is treated as @[ [NSSet set] ] @@ -68,7 +69,8 @@ @param handler the callback to invoke which will return an array of `FBAccessTokenData` instances or an `NSError`. If param `createIfNotFound` is NO, the array may contain `[NSNull null]` instances. - @discussion If you are requesting test accounts with differing number of permissions, try to order + + If you are requesting test accounts with differing number of permissions, try to order `arrayOfPermissionsArrays` so that the most number of permissions come first to minimize creation of new test accounts. */ @@ -76,23 +78,23 @@ createIfNotFound:(BOOL)createIfNotFound completionHandler:(FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)handler; -/*! - @abstract add a test account with the specified permissions +/** + add a test account with the specified permissions @param permissions the set of permissions, e.g., [NSSet setWithObjects:@"email", @"user_friends"] @param handler the callback handler */ - (void)addTestAccountWithPermissions:(NSSet *)permissions completionHandler:(FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)handler; -/*! - @abstract remove a test account for the given user id +/** + remove a test account for the given user id @param userId the user id @param handler the callback handler */ - (void)removeTestAccount:(NSString *)userId completionHandler:(FBSDKTestUsersManagerRemoveTestAccountHandler)handler; -/*! - @abstract Make two test users friends with each other. +/** + Make two test users friends with each other. @param first the token of the first user @param second the token of the second user @param callback the callback handler -- Gitblit v1.8.0