• 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: NSCountedSet and NSString values question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCountedSet and NSString values question


  • Subject: Re: NSCountedSet and NSString values question
  • From: Greg Guerin <email@hidden>
  • Date: Fri, 13 Aug 2010 16:14:06 -0700

Philip Mobley wrote:

My question is basically how does NSCountedSet handle string values, are they interpreted by their string values or by their object values? If they are by object, then I need to do more work to pull the exact key object from the NSDictionary.


NSCountedSet inherits from NSSet and NSMutableSet, both of which use the hash and isEqual: methods of contained objects. See the reference docs for each.

In general, docs for a class do not repeat descriptions from a superclass, unless there is a difference. So to fully understand what any class does, you must often read the superclass's docs as well as the docs of the class you wish to use.

  -- GG

_______________________________________________

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: NSCountedSet and NSString values question
      • From: Philip Mobley <email@hidden>
  • Prev by Date: Re: Unzip class/lib
  • Next by Date: Re: How to assure NSTask termination when parent dies
  • Previous by thread: NSCountedSet and NSString values question
  • Next by thread: Re: NSCountedSet and NSString values question
  • Index(es):
    • Date
    • Thread