Re: Declaring a property named "private" and ObjC++
Re: Declaring a property named "private" and ObjC++
- Subject: Re: Declaring a property named "private" and ObjC++
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 28 Sep 2010 17:57:12 -0600
On Sep 28, 2010, at 5:51 PM, Ricky Sharp wrote:
> Why do you need to use the exact name of "private"?
Because the object in question has a "private" state.
> You should never name things using reserved words.
But it's not a reserved word in Objective-C. "@private" is, "private" is not.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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