Re: virtual ivars
Re: virtual ivars
- Subject: Re: virtual ivars
- From: Todd Heberlein <email@hidden>
- Date: Sat, 29 Aug 2009 14:44:37 -0700
If you can't set a value, don't provide a setter.
I see from another post I was conflating "ivars" with "properties".
With regards to the setters, I have some C++ libraries, and I was
thinking about having "property" wrappers in an Objective C object
doing setting and getting into values in the C++ object. I just didn't
want to make the demo code very long. My bad for a poor example.
Todd
_______________________________________________
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