On 6 Feb 2009, at 10:44 am, Jordan Breeding wrote:

NSSet/NSMutableSet


They don't compare by pointer, they compare using -isEqual:, which returns YES for the two strings that the OP indicated.

I can only suggest wrapping the objects in an NSValue using [NSValue valueWithPointer:]; though you'd need to experiment how exactly this tests for equality.

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to