Re: Why so many public properties all up in my grizzle?
Re: Why so many public properties all up in my grizzle?
- Subject: Re: Why so many public properties all up in my grizzle?
- From: G S <email@hidden>
- Date: Fri, 16 Mar 2012 19:16:51 -0700
Thanks for asking this, Brian. I've wondered the same thing, and in fact I
went through my code and removed almost all property declarations from my
view controllers. Since most properties are declared as "retain", you're
just increasing your bookkeeping to avoid leaks. Not to mention the sheer
maintenance hassle of typing out or deleting the declarations as you add or
remove members.
And as someone pointed out, properties are not at all necessary for making
connections in IB. So I don't see the point. Now I'm referring to the
members directly, with the added bonus of being able to use member notation
to identify members for clarity.
Regards,
Gavin
_______________________________________________
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