[Update]: Curious about NSHashTable
[Update]: Curious about NSHashTable
- Subject: [Update]: Curious about NSHashTable
- From: Luke Evans <email@hidden>
- Date: Fri, 8 Feb 2008 16:55:52 -0800
Mmm, well using CFSetCreateMutable works a charm, so maybe I have my
pragmatic solution.
However, I'm still curious as to whether I'm supposed to be able to
redirect the equals and hash functions on NSHashTable in the way I
described.
Seems a bit of a shame to surface core foundation doodads into my
otherwise uniformly 'cocoa only' code - though maybe that's a tad
pedantic (and there may yet be a way to achieve what I want with
NSHashTable).
-- Lwe
On 8-Feb-08, at 4:18 PM, Luke Evans wrote:
I'm playing with NSHashTable, attracted by what I see is the
possibility of overriding the hash and isEqual functions in order to
override those provided directly by the content objects.
//snip//
_______________________________________________
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