• 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: dealloc not being called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dealloc not being called?


  • Subject: Re: dealloc not being called?
  • From: Finlay Dobbie <email@hidden>
  • Date: Thu, 27 Sep 2001 20:51:25 +0100

Your object is never deallocated specifically, it just gets cleaned up along with all the rest of the memory belonging to your program. If you want to know when your application is being quit, use one of the NSApp delegate methods (-applicationWillTerminate) or notifications.

-- Finlay

On Thursday, September 27, 2001, at 08:26 pm, Dustin Mierau wrote:

Hello,

I have an object that is created when my application is ran, from a nib file. My awakeFromNib method is being called, my init method is being called, but for some reason when i quit the app my dealloc method is not being called.

Any ideas?

I looked at some examples from the example folder, and this seems to also be the case for TextSizingExample Controller object. I put an NSLog in the dealloc method and it never seems to be called.

I am kinda new to cocoa, so you are welcome to laugh at me ;)


References: 
 >dealloc not being called? (From: Dustin Mierau <email@hidden>)

  • Prev by Date: Re: Panel before sheilding window
  • Next by Date: Re: dealloc not being called?
  • Previous by thread: dealloc not being called?
  • Next by thread: Re: dealloc not being called?
  • Index(es):
    • Date
    • Thread