Re: Regarding MVC design pattern
Re: Regarding MVC design pattern
- Subject: Re: Regarding MVC design pattern
- From: Joanna Carter <email@hidden>
- Date: Thu, 20 May 2010 13:44:42 +0100
Le 20 mai 2010 à 13:24, Alexander Spohr a écrit :
> Why not just using myFoo without the self->?
> To make it visible that you talk to an ivar?
Yes, because the ivar is synthesised, addressing myFoo would send the release message to the property, which is not recommended.
Apparently, self->myFoo is capable of reaching the synthesised ivar.
Joanna
--
Joanna Carter
Carter Consulting
_______________________________________________
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