diff options
author | Xiangtian Dai <xiangtian@google.com> | 2017-09-26 13:17:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 13:17:41 -0700 |
commit | 06fbbd8ee01ece0ee4d4599f3abcaf544b2f1a99 (patch) | |
tree | 4a085c1977892fe0016a60aefce2f3e2dafd9705 /Firebase/Auth/Source/FIRUserMetadata.m | |
parent | dc36b0a5d790b11b2701d947aaeef9769d06eb36 (diff) |
- Saves user metadata in keychain. (#305)
- Adds Swift stubs for the new API.
- Shows the `isNewUser` bit in the sample app.
Diffstat (limited to 'Firebase/Auth/Source/FIRUserMetadata.m')
-rw-r--r-- | Firebase/Auth/Source/FIRUserMetadata.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Firebase/Auth/Source/FIRUserMetadata.m b/Firebase/Auth/Source/FIRUserMetadata.m index 65ca15c..8fe6509 100644 --- a/Firebase/Auth/Source/FIRUserMetadata.m +++ b/Firebase/Auth/Source/FIRUserMetadata.m @@ -30,8 +30,8 @@ static NSString *const kCreationDateCodingKey = @"creationDate"; */ static NSString *const kLastSignInDateCodingKey = @"lastSignInDate"; -- (nullable instancetype)initWithCreationDate:(NSDate *)creationDate - lastSignInDate:(NSDate *)lastSignInDate { +- (instancetype)initWithCreationDate:(nullable NSDate *)creationDate + lastSignInDate:(nullable NSDate *)lastSignInDate { self = [super init]; if (self) { _creationDate = [creationDate copy]; |