Skip to content

Commit b31ce7c

Browse files
committed
Addresses comments
1 parent a04ea74 commit b31ce7c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Example/Auth/Sample/UserInfoViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
@return The string form of the NSDate instance.
3737
*/
3838
static NSString *stringFromDate(NSDate *date) {
39-
if (!date || ![date isKindOfClass:[NSDate class]]) {
40-
return @"";
39+
if (!date) {
40+
return @"nil";
4141
}
4242
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
4343
[dateFormatter setDateStyle:NSDateFormatterMediumStyle];

Firebase/Auth/Source/Public/FIRUserMetadata.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@
1616

1717
#import <Foundation/Foundation.h>
1818

19+
#import "FIRAuthSwiftNameSupport.h"
20+
1921
NS_ASSUME_NONNULL_BEGIN
2022

2123
/** @class FIRUserMetdata
2224
@brief A data class representing the metadata corresponding to a Firebase user.
2325
*/
26+
FIR_SWIFT_NAME(UserMetadata)
2427
@interface FIRUserMetadata : NSObject
2528

2629
/** @property lastSignInDate

0 commit comments

Comments
 (0)