Re: NSCountedSet and NSString values question
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