Re: Completely remove a window (from NSApp)?
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Thread-index: Acct5HV4tB3/7ZnXEduIxwANk7gcZA== Thread-topic: Completely remove a window (from NSApp)? User-agent: Microsoft-Entourage/11.2.3.060209 On Sun, 31 Dec 2006 07:45:56 -0800, Jerry Krinock <jerry@ieee.org> said:
The answer seems to be that the owning NSWindowController WILL ALWAYS -release the window, and also (magically) it will be removed from NSApp's -windows, when the owning NSWindowController itself is dealloced. And this is, it would seem, the natural death that the Cocoa gods have intended for "NSWindowControlled" windows.
Yes, that's what I was try to get you to think about in my first response when I said "employ the nib architecture (esp. with NSWindowController)". m. -- matt neuburg, phd = matt@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! <http://www.amazon.com/gp/product/0596102119> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com
participants (1)
-
Matt Neuburg