• 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: Manual KVO and will/didChangeValueForKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manual KVO and will/didChangeValueForKey


  • Subject: Re: Manual KVO and will/didChangeValueForKey
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 1 Jun 2005 23:16:43 -0700


On Jun 1, 2005, at 10:47 PM, Andrew White wrote:

The NSKeyValueObservingProtocol specifies that a NSKeyValueChangeKindKey of NSKeyValueChangeSetting indicates

"that willChangeValueForKey:/didChangeValueForKey: has otherwise been invoked".

Is it possible to tell which of the two was invoked? Does it make any difference for the implementer of observeValueForKeyPath:ofObject:change:context: ?


You only receive one invocation of observeValueForKeyPath:... for each willChangeValueForKey:/didChangeValueForKey pair.


mmalc

_______________________________________________
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


References: 
 >Manual KVO and will/didChangeValueForKey (From: Andrew White <email@hidden>)

  • Prev by Date: Manual KVO and will/didChangeValueForKey
  • Next by Date: Re: Manual KVO and will/didChangeValueForKey
  • Previous by thread: Manual KVO and will/didChangeValueForKey
  • Next by thread: Re: Manual KVO and will/didChangeValueForKey
  • Index(es):
    • Date
    • Thread