[categories] [index] [all (552)] [latest]
http://en.wikipedia.org/wiki/Universally_Unique_Identifier
+ (NSString *)randomString {
CFUUIDRef cfuuid = CFUUIDCreate (kCFAllocatorDefault);
NSString *uuid = (NSString *)CFUUIDCreateString (kCFAllocatorDefault, cfuuid);
CFRelease (cfuuid);
return [uuid autorelease];
}
CFC4B6BA-26C9-4149-89C1-77C2C4865A72
See also $ uuidgen