On Jun 1, 2009, at 4:59 AM, Graham Cox wrote:
On 01/06/2009, at 9:52 PM, Bright wrote:
When should use the "[super dealloc];"? Could anyone list all of
case.
Whenever you have overridden -dealloc. Simple as that.
Pretty much. If you override +alloc then you may or may not want to
call [super dealloc], depending on exactly what your +alloc
implementation does. But you should almost never override +alloc.
--
Greg Parker gpar...@apple.com Runtime Wrangler
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com