• 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: when should my NSWindowController be released?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: when should my NSWindowController be released?


  • Subject: Re: when should my NSWindowController be released?
  • From: "Michael Ash" <email@hidden>
  • Date: Sat, 13 Sep 2008 20:09:00 -0400

On Sat, Sep 13, 2008 at 5:59 PM, Markus Spoettl
<email@hidden> wrote:
> On Sep 13, 2008, at 2:42 PM, j o a r wrote:
>>
>> Like what?
>
> For instance if you have an app delegate object in MainMenu.nib it gets
> deallocated only when the application terminates.

Pretty much by definition, if an object is intended to only be
deallocated when your application terminates, that object *cannot
leak*.

Even if you decide on a definition where it can "leak", such a leak is
of absolutely no consequence and as such is not worth looking for.

Mike
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

References: 
 >Re: when should my NSWindowController be released? (From: Charles Steinman <email@hidden>)
 >Re: when should my NSWindowController be released? (From: Markus Spoettl <email@hidden>)
 >Re: when should my NSWindowController be released? (From: Seth Willits <email@hidden>)
 >Re: when should my NSWindowController be released? (From: Markus Spoettl <email@hidden>)
 >Re: when should my NSWindowController be released? (From: j o a r <email@hidden>)
 >Re: when should my NSWindowController be released? (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: NSColorWell - What's in the corner?
  • Next by Date: Re: referencing XML Data
  • Previous by thread: Re: when should my NSWindowController be released?
  • Next by thread: NSXMLParser and character entities?
  • Index(es):
    • Date
    • Thread