On Apr 26, 2010, at 10:50 PM, Ken Thomases wrote:

>> No. The "get" prefix is used for return-via-pointer. For example,
>> -[NSString getCharacters:range].
> 
> As documented here 
> <http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/CodingGuidelines/Articles/NamingMethods.html>.
> 
> Cheers,
> Ken

I see... thank you everyone!

The key phrase here is in the link provided by Ken Thomases (I was looking for 
this before I asked question):

developer.apple.com/.../NamingMethods.html:
> Use “get” only for methods that return objects and values indirectly. You 
> should use this form for methods only when *multiple* items need to be 
> returned.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to