Anyone here think they can help me with this problem with CoreData? I need a method that will add an object to an entity, whose contentSet is bound to another entities selection. Right now I have:
Unfortunately, this doesn't work because it is bound to the contentSet of another entity.
Code:
NSManagedObject *source;
source = [NSEntityDescription insertNewObjectForEntityForName:@"secondEntity"
inManagedObjectContext: [self managedObjectContext]];