Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
- Subject: Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
- From: mmalc crawford <email@hidden>
- Date: Wed, 08 Oct 2008 10:21:49 -0700
On Oct 8, 2008, at 10:16 AM, Sean McBride wrote:
That was a nice summary, thanks.
Cheers.
So does the same advice apply for init methods? That is: set ivars
directly (unless there is no ivar, in which case you have no choice
but
to call the setter).
Yes.
mmalc
_______________________________________________
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