Re: How to create a GUID?
Re: How to create a GUID?
- Subject: Re: How to create a GUID?
- From: Phil <email@hidden>
- Date: Tue, 9 Sep 2008 17:02:22 +1200
On Tue, Sep 9, 2008 at 12:13 AM, Chris Suter <email@hidden> wrote:
> On Leopard (and possibly earlier–I haven't checked), it appears that the
> string returned is actually a UUID created with the CFUUID functions
> concatenated with the process ID and the result of mach_absolute_time() so
> the result isn't a proper UUID. I'm not sure where the host name is coming
> from; it's possible that the CFUUID functions incorporate it somehow.
>
The documentation doesn't specify any particular format for the string
returned, only the information used to seed it---I wouldn't recommend
depending on this method always returning a UUID incase this changes
(even though it probably won't).
Phil
_______________________________________________
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