| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Obviously, either some third party is holding a retain on the child or the NSDocument code that deals with closing calls autorelease rather than release. For now, I'd rather work around the problem completely and hook either the "disconnect from document" or "my window closed" event in the NSWindowController, thus allowing me to cleanly de-register KVO.
How do I hook this event?
-(void)windowDidClose:(NSNotification*)aNotification
- tim lucas
_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
| References: | |
| >Manual KVO quirks with NSDocument and NSWindowController (From: Andrew White <email@hidden>) | |
| >Re: Manual KVO quirks with NSDocument and NSWindowController (From: Tim Lucas <email@hidden>) | |
| >Re: Manual KVO quirks with NSDocument and NSWindowController (From: Andrew White <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.