• 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
Re: [iPhone] How to create a unique string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] How to create a unique string


  • Subject: Re: [iPhone] How to create a unique string
  • From: Eric Gorr <email@hidden>
  • Date: Thu, 13 May 2010 10:33:33 -0400

So long as it is ok for the string to be unique for the network the user is on only. From the docs:

The ID includes the host name, process ID, and a time stamp, which ensures that the ID is unique for the network.

A UUID (Universally Unique Identifier) is entirely unique.



On May 13, 2010, at 10:18 AM, Tharindu Madushanka wrote:

> Hi,
>
> Thanks a lot. [[NSProcessInfo processInfo] globallyUniqueString] seems to be
> the easiest one.
>
> cool.
>
> Thank you very much,
>
> Tharindu
>
>>
>> It might be simpler to just use [[NSProcessInfo processInfo]
>> globallyUniqueString]
>>
>> -Jonathan
>>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [iPhone] How to create a unique string
      • From: Thomas Davie <email@hidden>
References: 
 >[iPhone] How to create a unique string (From: Tharindu Madushanka <email@hidden>)
 >Re: [iPhone] How to create a unique string (From: John Pannell <email@hidden>)
 >Re: [iPhone] How to create a unique string (From: Jonathan del Strother <email@hidden>)
 >Re: [iPhone] How to create a unique string (From: Tharindu Madushanka <email@hidden>)

  • Prev by Date: Re: [iPhone] How to create a unique string
  • Next by Date: Re: [iPhone] How to create a unique string
  • Previous by thread: Re: [iPhone] How to create a unique string
  • Next by thread: Re: [iPhone] How to create a unique string
  • Index(es):
    • Date
    • Thread