Re: Manual KVO quirks with NSDocument and NSWindowController
Re: Manual KVO quirks with NSDocument and NSWindowController
- Subject: Re: Manual KVO quirks with NSDocument and NSWindowController
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 23 May 2005 06:51:57 -0700
On May 23, 2005, at 5:50 AM, Andrew White wrote:
interestingData is also the name of a method in the document.
There is a also private method that looks like:
- (void) setInterestingData: (NSArray *) someData
{
[self willChangeValueForKey: @"interestingData"];
[_interestingData setArray: someData];
[self didChangeValueForKey: @"interestingData"];
}
Have you disabled automatic KVO for this attribute? If not, you'll
get two KVO notifications...
<http://developer.apple.com/documentation/Cocoa/Conceptual/
KeyValueObserving/Concepts/AutoVsManual.html>
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