Re: Clarification on accessors? (was: Yet another memory management question)
Re: Clarification on accessors? (was: Yet another memory management question)
- Subject: Re: Clarification on accessors? (was: Yet another memory management question)
- From: Graham Cox <email@hidden>
- Date: Thu, 9 Jul 2009 09:37:10 +1000
On 09/07/2009, at 2:51 AM, Caleb Strockbine wrote:
Really? Are -init and -dealloc special in some way that makes it a
bad idea to use accessors? If you've got an accessor for myArray,
why wouldn't you just say:
self.myArray = nil?
They are special. If a subclass overrides the accessor, what will get
called?
--Graham
_______________________________________________
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