[SOLVED] How can I get an instance specific identifier?
[SOLVED] How can I get an instance specific identifier?
- Subject: [SOLVED] How can I get an instance specific identifier?
- From: "Alan Smith" <email@hidden>
- Date: Sat, 25 Nov 2006 10:00:41 -0500
Thanks everyone!
I'm going to go with Rosyna's suggestion but the below code that I was
sent off list should also work.
CFUUIDRef uidRef = CFUUIDCreate(NULL);
NSString *elementID = (NSString *)CFUUIDCreateString (NULL,uidRef);
CFRelease(uidRef);
use the above code to create a unique ID .
Thanks again, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unnecessary, then it
shall evolve."
_______________________________________________
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