• 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
[SOLVED] How can I get an instance specific identifier?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


References: 
 >How can I get an instance specific identifier? (From: "Alan Smith" <email@hidden>)

  • Prev by Date: NSViews not displayed properly when the window is resized
  • Next by Date: Re: Deployment target set to 10.4, still launches on 10.3.9
  • Previous by thread: Re: How can I get an instance specific identifier?
  • Next by thread: Re: How can I get an instance specific identifier?
  • Index(es):
    • Date
    • Thread