• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSDictionary allValues not mutable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSDictionary allValues not mutable
      • From: Trygve Inda <email@hidden>
References: 
 >Re: NSDictionary allValues not mutable (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: NSDictionary allValues not mutable
  • Next by Date: Re: NSDictionary allValues not mutable
  • Previous by thread: Re: NSDictionary allValues not mutable
  • Next by thread: Re: NSDictionary allValues not mutable
  • Index(es):
    • Date
    • Thread