Re: Completely remove a window (from NSApp)?
Re: Completely remove a window (from NSApp)?
- Subject: Re: Completely remove a window (from NSApp)?
- From: Matt Neuburg <email@hidden>
- Date: Mon, 01 Jan 2007 12:36:05 -0800
- Thread-topic: Completely remove a window (from NSApp)?
On Sun, 31 Dec 2006 07:45:56 -0800, Jerry Krinock <email@hidden> 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 = email@hidden, <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 (email@hidden)
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:
This email sent to email@hidden