Re: How can I get an instance specific identifier?
Re: How can I get an instance specific identifier?
- Subject: Re: How can I get an instance specific identifier?
- From: Rosyna <email@hidden>
- Date: Fri, 24 Nov 2006 14:41:12 -0700
[NSValue valueWithPointer:object] or even [NSString
stringWithFormat:@"%p", object];
Ack, at 11/24/06, Alan Smith said:
I want to use the memory location (eg 0x3a1c30) as the identifier for
the object. This would be for storing info in a dictionary, the memory
location would be used as the key. I just have no idea how to get the
memory location.
It doesn't have to be the memory location but it has to be specific to
the object and cannot be possible to have two with the same ID.
--
Sincerely,
Rosyna Keller
Technical Support/Carbon troll/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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