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.
nil
1 parent abd0704 commit a9a1c3dCopy full SHA for a9a1c3d
Code/Network/RKManagedObjectRequestOperation.m
@@ -355,7 +355,9 @@ - (BOOL)deleteLocalObjectsMissingFromMappingResult:(RKMappingResult *)result atK
355
NSDictionary *mappingResultDictionary = result.dictionary;
356
for (NSString *keyPath in keyPaths) {
357
id managedObjects = [mappingResultDictionary valueForKeyPath:keyPath];
358
- if ([managedObjects isKindOfClass:[NSManagedObject class]]) {
+ if (! managedObjects) {
359
+ continue;
360
+ } else if ([managedObjects isKindOfClass:[NSManagedObject class]]) {
361
[managedObjectsInMappingResult addObject:managedObjects];
362
} else if ([managedObjects isKindOfClass:[NSSet class]]) {
363
[managedObjectsInMappingResult unionSet:managedObjects];
0 commit comments