Re: Regarding MVC design pattern
Re: Regarding MVC design pattern
- Subject: Re: Regarding MVC design pattern
- From: mmalc Crawford <email@hidden>
- Date: Thu, 20 May 2010 10:42:42 -0700
On May 20, 2010, at 7:40 am, Thomas Davie wrote:
>> However, you should typically not invoke accessor methods in init or dealloc methods.
>
> Can I ask why you shouldn't use them in init? It makes a lot of sense to not use them in alloc/dealloc, but I'm not using them in init... after all, what if I replace the ivar with a derived property from another object? Why should I have to recode my init?
<http://www.mail-archive.com/email@hidden/msg39483.html>
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