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 159c0d6 commit c388fd9Copy full SHA for c388fd9
Parse/PFObject.m
@@ -1633,11 +1633,7 @@ + (instancetype)objectWithClassName:(NSString *)className {
1633
}
1634
1635
+ (instancetype)objectWithClassName:(NSString *)className dictionary:(NSDictionary *)dictionary {
1636
- PFObject *object = [self objectWithClassName:className];
1637
- [dictionary enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
1638
- object[key] = obj;
1639
- }];
1640
- return object;
+ return [self _objectFromDictionary:dictionary defaultClassName:className completeData:YES];
1641
1642
1643
+ (instancetype)objectWithoutDataWithClassName:(NSString *)className objectId:(NSString *)objectId {
0 commit comments