Re: Why should we set ivars to nil in dealloc?
Re: Why should we set ivars to nil in dealloc?
- Subject: Re: Why should we set ivars to nil in dealloc?
- From: "stephen joseph butler" <email@hidden>
- Date: Sun, 13 Apr 2008 14:36:32 -0500
On Sun, Apr 13, 2008 at 12:48 PM, Ferhat Ayaz <email@hidden> wrote:
> why is it necessary to set the variable appointments (for instance) to nil
> in this example? Should we do this for each variable? When have we to do
> this?
Usually it's not. For me, it's 100% a "best practices" thing. It never
hurts, so why not get into the habit of doing it?
_______________________________________________
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