Re: NSDictionary allValues not mutable
Re: NSDictionary allValues not mutable
- Subject: Re: NSDictionary allValues not mutable
- From: Charles Srstka <email@hidden>
- Date: Mon, 18 Oct 2010 16:33:01 -0500
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@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