[Pyobjc-dev] Re: Cocoa/Objective-C equiv to __del__?
Brought to you by:
ronaldoussoren
From: Michael H. <mw...@py...> - 2003-08-20 10:43:57
|
Ronald Oussoren <ous...@ci...> writes: > On Tuesday, 19 August, 2003, at 16:55, Zachery Bir wrote: > >> Since we're not using __init__() for Cocoa-derived objects >> (delegates and the like), is there an analogous means for providing >> for cleanup, like the __del__() method? > > Yes, there is. The method is named __del__ :-) > > Dealloc won't work, I'm pretty sure the bridge will throw an exception > if you try to define that method. Yup. Found that out just last night :-) Cheers, mwh -- Clue: You've got the appropriate amount of hostility for the Monastery, however you are metaphorically getting out of the safari jeep and kicking the lions. -- coonec -- http://home.xnet.com/~raven/Sysadmin/ASR.Quotes.html |