no message
This commit is contained in:
parent
bcbcac36d2
commit
bc854abc37
@ -75,7 +75,9 @@ static bool isFirstAccess = YES;
|
|||||||
NSDictionary *savedUser = [[PNObjectModel sharedInstance] fetchObjectsWithClass:[self class]];
|
NSDictionary *savedUser = [[PNObjectModel sharedInstance] fetchObjectsWithClass:[self class]];
|
||||||
|
|
||||||
if (savedUser) {
|
if (savedUser) {
|
||||||
USER = [super initWithLocalJSON:savedUser];
|
Class objectClass = NSClassFromString([[self class] PNObjClassName]);
|
||||||
|
|
||||||
|
USER = [[objectClass alloc] initWithLocalJSON:savedUser];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (USER) {
|
if (USER) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user