On Aug 16, 2008, at 1:57 PM, Steve Wart wrote:
What's the standard way of hashing non-object values in Cocoa?
Something like this ought to work: (warning - written in Mail,
untested, use at your own risk)
[[NSNumber numberWithUnsignedInteger:someNSUInteger] hash];
You can use NSValue to turn other Foundation data structures into
objects.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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 [EMAIL PROTECTED]