Re: dealloc not being called?
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 ;)