Re: Setting focus to text field in drawer
Re: Setting focus to text field in drawer
- Subject: Re: Setting focus to text field in drawer
- From: Scott Anguish <email@hidden>
- Date: Mon, 11 Aug 2003 14:15:41 -0400
On Monday, August 11, 2003, at 6:07 AM, Bill Cheeseman wrote:
on 03-08-10 8:53 PM, publiclook at email@hidden wrote:
Also, Apple reserves all variable names that start with just one
underscore and don't have a unique prefix.
Actually, Apple only reserves method names with a leading underscore.
We are
free to use a leading underscore with variable names, as the compiler
will
catch any conflict with variables of the same name in Apple's headers.
The
latest version of the documentation (I forget which documentation;
probably
System Overview) makes this explicit.
Well, to be clear... (from Coding Guidelines)
Do not use the underscore character as a prefix meaning that the
instance variable is private. Apple reserves the use of this convention
because its use by third parties could result in name-space collisions.
See Private Methods for a suggestion on prefixes for private API.
So, actual variables, rather than instance variables aren't included,
but realistically it'd be good practice to not use those either.
I prefix all my vars with this now
thisIsMyPrefix_itIsNobodyElsesPrefix_
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.