no message

This commit is contained in:
giuseppenuc committed 2016-01-16 13:39:48 +01:00
1 parent f25ede069d
commit 54797fafcd
43 files changed
+4320 -1774

No files matched your search

+12
View File
@@ -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