File tree 2 files changed +5
-2
lines changed
Firebase/Auth/Source/Public 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 36
36
@return The string form of the NSDate instance.
37
37
*/
38
38
static NSString *stringFromDate (NSDate *date) {
39
- if (!date || ![date isKindOfClass: [ NSDate class ]] ) {
40
- return @" " ;
39
+ if (!date) {
40
+ return @" nil " ;
41
41
}
42
42
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc ] init ];
43
43
[dateFormatter setDateStyle: NSDateFormatterMediumStyle];
Original file line number Diff line number Diff line change 16
16
17
17
#import < Foundation/Foundation.h>
18
18
19
+ #import " FIRAuthSwiftNameSupport.h"
20
+
19
21
NS_ASSUME_NONNULL_BEGIN
20
22
21
23
/* * @class FIRUserMetdata
22
24
@brief A data class representing the metadata corresponding to a Firebase user.
23
25
*/
26
+ FIR_SWIFT_NAME (UserMetadata)
24
27
@interface FIRUserMetadata : NSObject
25
28
26
29
/* * @property lastSignInDate
You can’t perform that action at this time.
0 commit comments