• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Update]: Curious about NSHashTable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


References: 
 >Curious about NSHashTable (From: Luke Evans <email@hidden>)

  • Prev by Date: Re: Catching Cocoa application Crash
  • Next by Date: Re: Rotating a QTCaptureView
  • Previous by thread: Curious about NSHashTable
  • Next by thread: newbie alert: i'm confused: The XCode Quick Tour Guide
  • Index(es):
    • Date
    • Thread