Re: Needed : set class for Cocoa
Re: Needed : set class for Cocoa
- Subject: Re: Needed : set class for Cocoa
- From: Graham Cox <email@hidden>
- Date: Fri, 6 Feb 2009 10:54:47 +1100
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 (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