Re: Dealloc method needed?
Re: Dealloc method needed?
- Subject: Re: Dealloc method needed?
- From: Michèle Garoche <email@hidden>
- Date: Tue, 25 Jun 2002 09:11:32 +0200
Le mardi 25 juin 2002, ` 08:32 , Nathan Day a icrit :
On Monday, June 24, 2002, at 11:21 PM, Michhle Garoche wrote:
In a non document-based application, I've implemented
applicationShouldTerminateAfterLastWindowClosed, windowShouldClose,
applicationShouldTerminate, so that in any case (excepted in case of
arised sheet) when the user closes the main window, the application
quits.
In this application, I've a couple of instances variables I've
initialized, one of them is a shared instance (for about box).
Should I implement the dealloc method, though I cannot find any case
where the dealloc method is called?
dealloc is called by the release method when the objects reference
count reaches zero.
Excuse me. My words were not what I meant. I would say should I
implement the release method...?
Michhle
_______________________________________________
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.