• 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: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug.


  • Subject: Re: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug.
  • From: "David P. Henderson" <email@hidden>
  • Date: Tue, 17 Jul 2001 19:13:57 -0400

On Tuesday, July 17, 2001, at 06:49 , tyler wrote:

> I do think that the code that reanimates the objects in the NIB should
> dispose of them (?)
>
You CREATED those objects. You are responsible for disposing of all top
level objects you create in a nib file if it is important to do so ie,
it will leak significant memory overtime. This can be as simple as
checking the Release When Closed box for a window. When you load a nib,
you cause those objects in it to be unarchived for use; therefore,
releasing them is your problem.

Dave
--
Chaos Assembly Werks
"The Trend over the last 20 years or so has been to design computer
languages that enforce a state of paranoia. You're expected to program
every module as if it were in a state of siege  In Perl culture, by
contrast, you're expected to stay out of someone's home because you
weren't invited in, not because there are bars on the windows."
from Programming Perl


  • Follow-Ups:
    • Re: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug.
      • From: tyler <email@hidden>
References: 
 >Re: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug. (From: tyler <email@hidden>)

  • Prev by Date: Re: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug.
  • Next by Date: Re: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug.
  • Previous by thread: Re: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug.
  • Next by thread: Re: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug.
  • Index(es):
    • Date
    • Thread