• 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: making a key depend on keypaths of self
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making a key depend on keypaths of self


  • Subject: Re: making a key depend on keypaths of self
  • From: Wain <email@hidden>
  • Date: Tue, 15 Nov 2005 21:53:32 +0000


On 15 Nov 2005, at 20:09, Phil Frost wrote:

The problem then is that I don't know how I'd send notifications. From
what I can tell the only way is to call will/didChangeValueForKey: and
friends, but firstly I could never call willChange... before making the
change since I don't receieve notification until after it has happened,
and secondly these methods work only for keys, and not keypaths.

You say you receive notification after 'it' has happened, this would indicate that you
are already receiving a notification (presumably on the owning parent node), in
which case you should be able to update the sum 'manually'.


If this is incorrect please give a little more information, i.e. are you using Core Data
and NSManagedObject or are you creating new node instances in some other way?


Wain


___________________________________________________________ Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/
_______________________________________________
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: making a key depend on keypaths of self
      • From: Phil Frost <email@hidden>
References: 
 >making a key depend on keypaths of self (From: Phil Frost <email@hidden>)

  • Prev by Date: Re: Avoid "No Value" in a popup
  • Next by Date: Re: Character for Glyph?
  • Previous by thread: making a key depend on keypaths of self
  • Next by thread: Re: making a key depend on keypaths of self
  • Index(es):
    • Date
    • Thread