Re: Manual KVO and will/didChangeValueForKey
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