Re: Simple dealloc question
Re: Simple dealloc question
- Subject: Re: Simple dealloc question
- From: Milo Bird <email@hidden>
- Date: Mon, 15 Oct 2007 09:32:50 +0100
you're right, it's completely sufficient to release track object.
However, setting it to nil helps tracking possible bugs in your
code, because you will immediately see in the debugger that you are
sending messages to nil object.
Yes, but in this case it's completely pointless, as dealloc is the
last message this object will ever receive.
Milo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden