Re: Decoding a line of Objective-C
Re: Decoding a line of Objective-C
- Subject: Re: Decoding a line of Objective-C
- From: Andrew Farmer <email@hidden>
- Date: Sun, 8 Jul 2007 13:44:56 -0700
On 08 Jul 07, at 13:23, Kevin Walzer wrote:
I understand what this line signifies:
MyClass *MCLSSharedInstance;
*MCLSSShareInstance is a pointer to an instance variable of MyClass.
No, MCLSShareInstance is a pointer to an instance of MyClass. An
instance variable is something rather different. MCLSSharedInstance
might in fact be an instance variable as well, but it's impossible to
tell without some context. (In fact, the name suggests that it's
probably a global of some sort.)
Yes, I'm being picky, but using the right terminology is very
important, particularly when you're asking questions.
_______________________________________________
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