You are trying to set a dictionary (updatedDict
) when the returned data is a NSSet
.
you might simply need to get it from the set collection it is in ...
NSSet* s = [dict valueForKey:@"updated"];
[s valueForKey:@"objectID"]
This will return a set of NSManagedObjectID
s.
See NSSet
on how to access objects.