Re: NSCountedSet and NSString values question
Re: NSCountedSet and NSString values question
- Subject: Re: NSCountedSet and NSString values question
- From: Quincey Morris <email@hidden>
- Date: Fri, 13 Aug 2010 17:36:27 -0700
On Aug 13, 2010, at 17:13, Philip Mobley wrote:
> I guess the issue is really more related to the fact that I didn't understand how NSStrings work with the -isEqual: function. I have been reading up on it, and have read some interesting things including:
>
> http://www.drobnik.com/touch/2009/11/the-world-on-an-nsstring/
>
> The author of the article is somewhat unsure whether using -isEqual: is safe, but after looking at the [NSString hash] documentation I feel confident in my current implementation.
Er, you probably don't want to take advice from authors who are "somewhat unsure".
In the case, assuming I actually understood what was written there, the author was flat out wrong about the semantics of 'hash', and the rest of the comments following on from that are just noise.
_______________________________________________
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