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/FBSDKLoginConstants.h | 44 +++++++++++++++----------------------------- 1 files changed, 15 insertions(+), 29 deletions(-) diff --git a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h index bcbf9d6..471bfdc 100644 --- a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h +++ b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h @@ -18,6 +18,8 @@ #import <Foundation/Foundation.h> +NS_ASSUME_NONNULL_BEGIN + #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0 /** @@ -25,7 +27,8 @@ Error codes from the SDK in the range 300-399 are reserved for this domain. */ -FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain; +FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain +NS_SWIFT_NAME(LoginErrorDomain); #else @@ -34,7 +37,8 @@ Error codes from the SDK in the range 300-399 are reserved for this domain. */ -FOUNDATION_EXPORT NSString *const FBSDKLoginErrorDomain; +FOUNDATION_EXPORT NSString *const FBSDKLoginErrorDomain +NS_SWIFT_NAME(LoginErrorDomain); #endif @@ -54,6 +58,7 @@ Reserved. */ FBSDKLoginErrorReserved = 300, + /** The error code for unknown errors. */ @@ -63,14 +68,17 @@ The user's password has changed and must log in again */ FBSDKLoginErrorPasswordChanged, + /** The user must log in to their account on www.facebook.com to restore access */ FBSDKLoginErrorUserCheckpointed, + /** Indicates a failure to request new permissions because the user has changed. */ FBSDKLoginErrorUserMismatch, + /** The user must confirm their account with Facebook before logging in */ @@ -82,15 +90,17 @@ been disabled. */ FBSDKLoginErrorSystemAccountAppDisabled, + /** An error occurred related to Facebook system Account store */ FBSDKLoginErrorSystemAccountUnavailable, + /** The login response was missing a valid challenge string. */ FBSDKLoginErrorBadChallengeString, -}; +} NS_SWIFT_NAME(LoginError); /** FBSDKDeviceLoginError @@ -113,30 +123,6 @@ The code you entered has expired. */ FBSDKDeviceLoginErrorCodeExpired = 1349152 -}; +} NS_SWIFT_NAME(DeviceLoginError); -/** - Deprecated - */ -typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode) -{ - FBSDKLoginReservedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorReserved instead") = FBSDKLoginErrorReserved, - FBSDKLoginUnknownErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUnknown instead"), - FBSDKLoginPasswordChangedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorPasswordChanged instead"), - FBSDKLoginUserCheckpointedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUserCheckpointed instead"), - FBSDKLoginUserMismatchErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUserMismatch instead"), - FBSDKLoginUnconfirmedUserErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUnconfirmedUser instead"), - FBSDKLoginSystemAccountAppDisabledErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorSystemAccountAppDisabled instead"), - FBSDKLoginSystemAccountUnavailableErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorSystemAccountUnavailable instead"), - FBSDKLoginBadChallengeString DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorBadChallengeString instead"), -} DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginError instead"); - -/** - Deprecated - */ -typedef NS_ENUM(NSUInteger, FBSDKDeviceLoginErrorSubcode) { - FBSDKDeviceLoginExcessivePollingErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorExcessivePolling instead") = FBSDKDeviceLoginErrorExcessivePolling, - FBSDKDeviceLoginAuthorizationDeclinedErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorAuthorizationDeclined instead") = FBSDKDeviceLoginErrorAuthorizationDeclined, - FBSDKDeviceLoginAuthorizationPendingErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorAuthorizationPending instead") = FBSDKDeviceLoginErrorAuthorizationPending, - FBSDKDeviceLoginCodeExpiredErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorCodeExpired instead") = FBSDKDeviceLoginErrorCodeExpired -} DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginError instead"); +NS_ASSUME_NONNULL_END -- Gitblit v1.8.0