I have a set of NSManagedObjects which are related to each other.
When I tried converting the JSON to NSManagedObject the application crashed because it could not handle the plain NSDictionary inside the NSSet. The library was expecting an NSManagedObject.
Line:
[instance setValue:objValue forKey:key];
Method:
- (BOOL)assignValue:(id)value instance:(id)instance key:(NSString )key propertyClass:(Class)propertyClass error:(NSError *)error
File Name:
AZReflection.m