On Jul 28, 2008, at 2:29 PM, Jonathan Hess wrote:

A good reason would be that you care about identity equality and not value equality. You care that the key is the exact same instance, not that it is an equivalent instance. (== vs isEqual:) Another reason would be that the keys might not implement NSCopying, which NSDictionary requires.

But couldn't you just do that with an NSArray instead of an NSDictionary, using -indexOfObjectIdenticalTo: and such?

Charles
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to