On Oct 18, 2010, at 4:22 PM, Trygve Inda wrote:

> How does it derive the plural for he method name countOfWeapons from the 
> class name Weapon?

It doesn’t. The property name is “weapons” in this case, the same name it would 
have had if it had been an NSArray. The only difference is that instead of two 
methods named -weapons and -setWeapons:, you have a few other methods with 
“Weapons” in their names. The only change is capitalizing the first letter to 
allow for CamelCase.

Charles_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to