On Jul 28, 2008, at 11:13, Carter R. Harrison wrote:
If I wanted to store an object in a dictionary and set its key as the object's memory address - how would I go about doing this?
The usual way would be to use the result of +[NSValue valueWithNonretainedObject:] as a dictionary key.
_______________________________________________ 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]