Re: [iPhone] How to create a unique string
Re: [iPhone] How to create a unique string
- Subject: Re: [iPhone] How to create a unique string
- From: Thomas Davie <email@hidden>
- Date: Thu, 13 May 2010 15:56:25 +0100
On 13 May 2010, at 15:33, Eric Gorr wrote:
> 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.
No it's not, as can easily be proven by observing that there are only a finite number of 40 character strings. A UUID is probabilistically unique._______________________________________________
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