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/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h | 28 ++++++++++++++++++---------- 1 files changed, 18 insertions(+), 10 deletions(-) diff --git a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h index 6148a07..ffcaaae 100644 --- a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h +++ b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h @@ -18,17 +18,23 @@ #import <Foundation/Foundation.h> +NS_ASSUME_NONNULL_BEGIN + @class FBSDKAccessToken; /** Describes the result of a login attempt. */ +NS_SWIFT_NAME(LoginManagerLoginResult) @interface FBSDKLoginManagerLoginResult : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; /** the access token. */ -@property (copy, nonatomic) FBSDKAccessToken *token; +@property (copy, nonatomic, nullable) FBSDKAccessToken *token; /** whether the login was cancelled by the user. @@ -40,25 +46,27 @@ inspect the token's permissions set for a complete list. */ -@property (copy, nonatomic) NSSet *grantedPermissions; +@property (copy, nonatomic) NSSet<NSString *> *grantedPermissions; /** the set of permissions declined by the user in the associated request. inspect the token's permissions set for a complete list. */ -@property (copy, nonatomic) NSSet *declinedPermissions; +@property (copy, nonatomic) NSSet<NSString *> *declinedPermissions; /** Initializes a new instance. - - Parameter token: the access token - - Parameter isCancelled: whether the login was cancelled by the user - - Parameter grantedPermissions: the set of granted permissions - - Parameter declinedPermissions: the set of declined permissions + @param token the access token + @param isCancelled whether the login was cancelled by the user + @param grantedPermissions the set of granted permissions + @param declinedPermissions the set of declined permissions */ -- (instancetype)initWithToken:(FBSDKAccessToken *)token +- (instancetype)initWithToken:(nullable FBSDKAccessToken *)token isCancelled:(BOOL)isCancelled - grantedPermissions:(NSSet *)grantedPermissions - declinedPermissions:(NSSet *)declinedPermissions + grantedPermissions:(NSSet<NSString *> *)grantedPermissions + declinedPermissions:(NSSet<NSString *> *)declinedPermissions NS_DESIGNATED_INITIALIZER; @end + +NS_ASSUME_NONNULL_END -- Gitblit v1.8.0