On Jul 22, 2009, at 12:42 PM, Squ Aire wrote:
Yes I was aware of this method. However, according to the docs it only guarantees uniqueness for a given process, and doesn't guarantee it will be "globally" unique, if you know what I mean. Thanks for the suggestion though.
As the method name implies, it'll be globally unique. The string contains the mach absolute time, the pid, and some random gunk.
So.... unless another machine executes -globallyUniqueString at exactly the same time from a process with the same pid while the two machine's entropy pools are in the same exact state, they'll be unique.
b.bum _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
