Re: NSWindow setReleasedWhenClosed
Re: NSWindow setReleasedWhenClosed
- Subject: Re: NSWindow setReleasedWhenClosed
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 2 Dec 2002 14:21:48 -0800
On Sunday, December 1, 2002, at 05:31 AM, Finlay Dobbie wrote:
On Sunday, December 1, 2002, at 01:22 AM, m wrote:
Are windows owned by window controllers therefore ALWAYS released
when closed or NEVER released when closed? Or am I missing something
more fundamental?
I would expect them to be released when the window controller is
deallocated.
That's correct, but they can also be released before that. The window
controller will be notified when they get closed, and can release them
at that time if need be.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.