Re: { Semi-Newbie } Inverse of +initialize?
Re: { Semi-Newbie } Inverse of +initialize?
- Subject: Re: { Semi-Newbie } Inverse of +initialize?
- From: Chris Ridd <email@hidden>
- Date: Sat, 12 Oct 2002 08:38:54 +0100
On 12/10/02 12:32 am, John C. Randolph <email@hidden> wrote:
>
-dealloc is for freeing memory. If your objects need to know when an
>
app is terminating because they do things like create temp files, they
>
should sign up for the relevant notifications.
That's interesting, and coincidentally exactly what the Objective-C
reference in the current devtools says (p141).
I have been treating -dealloc as an analogue of a C++ destructor, which
clearly it isn't.
Cheers,
Chris
_______________________________________________
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.