• 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
Re: Implementing isEqual: and hash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing isEqual: and hash


  • Subject: Re: Implementing isEqual: and hash
  • From: Jeff Johnson <email@hidden>
  • Date: Sat, 23 Aug 2008 11:22:57 -0500

On Aug 23, 2008, at 8:57 AM, Jean-Daniel Dupas wrote:

Look into the CoreFoundation sources. as Cocoa primitive are tool free bridged, they use the same hash functions. They is even a special case for NSString into the CFString.c file.

http://www.opensource.apple.com/darwinsource/10.5.4/CF-476.14/


Those are not the sources for CoreFoundation. Those are the sources for 'CFLite', which is a dumbed-down version of CoreFoundation used by IOKit. The real CoreFoundation is not open source. There is no guarantee that CFLite and CoreFoundation are the same. In fact, there are known differences.


-Jeff

_______________________________________________

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: 
 >Implementing isEqual: and hash (From: Graham Cox <email@hidden>)
 >Re: Implementing isEqual: and hash (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Implementing isEqual: and hash (From: Graham Cox <email@hidden>)
 >Re: Implementing isEqual: and hash (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Implementing isEqual: and hash
  • Next by Date: NSApplication _doOpenUntitled raises exception under Leopard, not Tiger
  • Previous by thread: Re: Implementing isEqual: and hash
  • Next by thread: Re: Implementing isEqual: and hash
  • Index(es):
    • Date
    • Thread