• 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 quirks with NSDocument and NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Manual KVO quirks with NSDocument and NSWindowController (From: Andrew White <email@hidden>)

  • Prev by Date: Manual KVO quirks with NSDocument and NSWindowController
  • Next by Date: Re: RAM Location and Size in 64bits Machines
  • Previous by thread: Manual KVO quirks with NSDocument and NSWindowController
  • Next by thread: Re: Manual KVO quirks with NSDocument and NSWindowController
  • Index(es):
    • Date
    • Thread