set values in coredata
set values in coredata
- Subject: set values in coredata
- From: Brian Todd <email@hidden>
- Date: Sat, 10 Feb 2007 19:44:59 -0800
When I change a value in a text field I would like all the values in
a core data entity to change based on the modified value. I have been
trying to figure out if there is a way to do this with bindings but I
haven't figured it out yet. The reason that I have the calculated
values in their own entity instead of created when I need them is
that the user can choose to modify them individually and disable the
calculation.
If as I suspect, there is no elegant way to use bindings for this.
What is the most straightforward way to modify entity values in
coredata? It seems like it should be just a couple lines of code but
I can't tell from Apple's docs if I need to create a fetch request
and subclass NSManagedObjectContext just to edit a value.
Brian Todd
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden