• 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
Re: Core Data: updating a key dependent on a to-many relationship?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: updating a key dependent on a to-many relationship?


  • Subject: Re: Core Data: updating a key dependent on a to-many relationship?
  • From: zeno <email@hidden>
  • Date: Tue, 21 Feb 2006 10:32:01 +0100

Ok, I built a test app, and it works.
There's still a problem I forgot though: when quitting and relaunching
the app you'll loose all the KVO you setup in the add<Key>Object, thus
you'll probably need to create a new method (called on
awakeFromFetch?) who will restore that...

Yeah, it would be definetly nice to have a more detailed explanation
to this question of the Core Data FAQ:
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdFAQ.html#//apple_ref/doc/uid/TP40001802-DontLinkElementID_14
("I have a key whose value is dependent on values of attributes in a
related entity — how do I ensure it is kept up to date as the
attribute values are changes and as the relationship is manipulated?"
-- Solution 1.)
 _______________________________________________
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

  • Follow-Ups:
    • Re: Core Data: updating a key dependent on a to-many relationship?
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: Core Data: updating a key dependent on a to-many relationship? (From: Nathan Tyler <email@hidden>)
 >Re: Core Data: updating a key dependent on a to-many relationship? (From: zeno <email@hidden>)

  • Prev by Date: [Moderator] List guidelines and related resources
  • Next by Date: Re: Find color's change in a NSString (attributed)
  • Previous by thread: Re: Core Data: updating a key dependent on a to-many relationship?
  • Next by thread: Re: Core Data: updating a key dependent on a to-many relationship?
  • Index(es):
    • Date
    • Thread