We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f18162b commit 300f666Copy full SHA for 300f666
Parse/PFObject.m
@@ -1634,7 +1634,9 @@ + (instancetype)objectWithClassName:(NSString *)className {
1634
1635
+ (instancetype)objectWithClassName:(NSString *)className dictionary:(NSDictionary *)dictionary {
1636
PFObject *object = [self objectWithClassName:className];
1637
- [object _mergeAfterSaveWithResult:dictionary decoder:[PFDecoder objectDecoder]];
+ [dictionary enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
1638
+ object[key] = [[PFDecoder objectDecoder] decodeObject:obj];
1639
+ }];
1640
return object;
1641
}
1642
0 commit comments