I have an entity called "Source" and I would like to use KVC to change the value for the attribute called "title" within the "Source" entity. I have the "Source" NSManagedObject bound to an NSArrayController that has an IBOutlet connected to it called "sourceArrayController".
I have tried
[sourceArrayController setValue:@"newTitle" forKey:"title"];
but I get an error "this class is not key value coding-compliant for the key title.
I have been also trying to retrieve the NSManagedObject "Source" programatically, but I can't find any methods to do so. Do I have to use KVC on an NSManagedObject directly? I am guessing that is why I couldn't do it via the NSArrayController, but I am not sure.
Thanks everyone for helping me with my many many questions!
-Kenny