Thanks for the help.
Core Data project. I'm importing text from a text file and I want to display it in an NSTextView whose value
binding I have bound to the arrayController's selection
with model key path text
. The array controller contains instances of my entity, which has a string attribute named text
. I want to update the arrayController for the key value bound to the textView so it can be saved. No errors when building, but not working. How do I do this?
id newObject = [arrayController newObject];
[arrayController addObject:newObject forKey:@"text"];
[newObject release];