discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Objective-C equivalent of a destructor?


From: percy tiglao
Subject: Objective-C equivalent of a destructor?
Date: Wed, 5 Oct 2005 16:31:11 -0400

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 when the reference count reaches 0 ?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]