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 | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h index 6601011..ffcaaae 100644 --- a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h +++ b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h @@ -18,11 +18,14 @@ #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; @@ -31,7 +34,7 @@ /** the access token. */ -@property (copy, nonatomic) FBSDKAccessToken *token; +@property (copy, nonatomic, nullable) FBSDKAccessToken *token; /** whether the login was cancelled by the user. @@ -43,14 +46,14 @@ 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. @@ -59,9 +62,11 @@ @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