• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
set values in coredata
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: set values in coredata
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Binding a Popup to an Array of Images?
  • Next by Date: Re: Old-style coordinates vs new
  • Previous by thread: Re: Binding a Popup to an Array of Images?
  • Next by thread: Re: set values in coredata
  • Index(es):
    • Date
    • Thread