change a value for a core data attribute programatically
change a value for a core data attribute programatically
- Subject: change a value for a core data attribute programatically
- From: "J. Atwood" <email@hidden>
- Date: Tue, 21 Jun 2005 16:30:55 -0400
How do I change a value for a core data attribute programatically?
Assume a very simple core data application (i.e. I have a NSArrayController for all my entities and data is bound to tables via the NSArrayControllers, like the simple Cocoa Dev Central "BlogDemo" example.
My first thought was to do this in MyController: [CustomerArrayController valueForKey:@"name"].
But that yields an error: [<NSArrayController 0x160ec10> valueForUndefinedKey:]: this class is not key value coding-compliant for the key name.
Clearly I'm missing a step. Can anyone help?
Thanks, Jeremiah Atwood
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden