Re: Objective-C equivalent of a destructor?

2005-10-06 Thread Sašo Kiselkov
Quoting Stefan Urbanek [EMAIL PROTECTED]: On 5.10.2005, at 22:33, Andrew Pinski wrote: On Oct 5, 2005, at 4:31 PM, percy tiglao wrote: Basically, I know init does the initialization code (and new is basically alloc and then init) But is there any cleanup code? Specifically, I'd

Re: Objective-C equivalent of a destructor?

2005-10-05 Thread Andrew Pinski
On Oct 5, 2005, at 4:31 PM, percy tiglao wrote: Basically, I know init does the initialization code (and new is basically alloc and then init) But is there any cleanup code? Specifically, I'd like to still use retain-release but still have a destructor. Is there any method that release calls