• 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: NSWindow setReleasedWhenClosed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: NSWindow setReleasedWhenClosed (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: Removing duplicates from NSMutableArray
  • Next by Date: NSImage via current screenshot twist
  • Previous by thread: Re: NSWindow setReleasedWhenClosed
  • Next by thread: Re: Quicktime and buffers
  • Index(es):
    • Date
    • Thread