aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/Public/FIRAuthErrors.h
diff options
context:
space:
mode:
authorGravatar Ryan Wilson <wilsonryan@google.com>2017-11-28 06:59:07 -0800
committerGravatar GitHub <noreply@github.com>2017-11-28 06:59:07 -0800
commit7386f00178be4fe1f8d8f749049d25cbf0533e6a (patch)
tree02ba61c9cda5c439b4b991c7286f93ea8512bbea /Firebase/Auth/Source/Public/FIRAuthErrors.h
parent7459be46ffb27bc95e155a1b267f91093f1a62b0 (diff)
Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. (#476)
* Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. This pushes the minimum Xcode version to 7.3, as NS_SWIFT_NAME was limited before that version (which is why the macro was introduced in the first place). * Fixed FIRMessaging header
Diffstat (limited to 'Firebase/Auth/Source/Public/FIRAuthErrors.h')
-rw-r--r--Firebase/Auth/Source/Public/FIRAuthErrors.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/Firebase/Auth/Source/Public/FIRAuthErrors.h b/Firebase/Auth/Source/Public/FIRAuthErrors.h
index 1691228..fdfee19 100644
--- a/Firebase/Auth/Source/Public/FIRAuthErrors.h
+++ b/Firebase/Auth/Source/Public/FIRAuthErrors.h
@@ -16,8 +16,6 @@
#import <Foundation/Foundation.h>
-#import "FIRAuthSwiftNameSupport.h"
-
/** @class FIRAuthErrors
@remarks Error Codes common to all API Methods:
<ul>
@@ -36,31 +34,31 @@
<li>@c FIRAuthErrorCodeUserDisabled</li>
</ul>
*/
-FIR_SWIFT_NAME(AuthErrors)
+NS_SWIFT_NAME(AuthErrors)
@interface FIRAuthErrors
/**
@brief The Firebase Auth error domain.
*/
-extern NSString *const FIRAuthErrorDomain FIR_SWIFT_NAME(AuthErrorDomain);
+extern NSString *const FIRAuthErrorDomain NS_SWIFT_NAME(AuthErrorDomain);
/**
@brief The key used to read the updated credential from the userinfo dictionary of the NSError
object returned in the case that the credential being linked in already in use.
*/
-extern NSString *const FIRAuthUpdatedCredentialKey FIR_SWIFT_NAME(AuthUpdatedCredentialKey);
+extern NSString *const FIRAuthUpdatedCredentialKey NS_SWIFT_NAME(AuthUpdatedCredentialKey);
/**
@brief The name of the key for the "error_name" string in the NSError userinfo dictionary.
*/
-extern NSString *const FIRAuthErrorNameKey FIR_SWIFT_NAME(AuthErrorNameKey);
+extern NSString *const FIRAuthErrorNameKey NS_SWIFT_NAME(AuthErrorNameKey);
/**
@brief Errors with the code @c FIRAuthErrorCodeAccountExistsWithDifferentCredential may contain
an @c NSError.userInfo dictinary object which contains this key. The value associated with
this key is an NSString of the email address of the account that already exists.
*/
-extern NSString *const FIRAuthErrorUserInfoEmailKey FIR_SWIFT_NAME(AuthErrorUserInfoEmailKey);
+extern NSString *const FIRAuthErrorUserInfoEmailKey NS_SWIFT_NAME(AuthErrorUserInfoEmailKey);
/**
@brief Error codes used by Firebase Auth.
@@ -308,6 +306,6 @@ typedef NS_ENUM(NSInteger, FIRAuthErrorCode) {
/** Indicates an internal error occurred.
*/
FIRAuthErrorCodeInternalError = 17999,
-} FIR_SWIFT_NAME(AuthErrorCode);
+} NS_SWIFT_NAME(AuthErrorCode);
@end