no message
This commit is contained in:
1 parent
f25ede069d
commit
54797fafcd
43 files changed
+4320
-1774
No files matched your search
@@ -8,6 +8,10 @@
|
||||
|
||||
#import "PNUser.h"
|
||||
|
||||
@interface PNUser() <PNObjectSubclassing>
|
||||
|
||||
@end
|
||||
|
||||
@implementation PNUser
|
||||
|
||||
static PNUser *SINGLETON = nil;
|
||||
@@ -70,7 +74,10 @@ static bool isFirstAccess = YES;
|
||||
return self;
|
||||
}
|
||||
|
||||
#pragma mark PNObjectSubclassing Protocol
|
||||
|
||||
+ (NSDictionary *)objcetMapping {
|
||||
|
||||
NSDictionary *mapping = @{@"userId":@"id",
|
||||
@"firstName":@"firstName",
|
||||
@"lastName":@"lastName",
|
||||
@@ -98,6 +105,11 @@ static bool isFirstAccess = YES;
|
||||
return @"User";
|
||||
}
|
||||
|
||||
+ (BOOL) singleInstance {
|
||||
return YES;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user