'uuid'에 해당되는 글 1건

  1. 2012.01.24 [IPHONE] UUID 생성

[IPHONE] UUID 생성

CS/iPhone 2012. 1. 24. 17:52
원문 : http://stackoverflow.com/questions/7016311/how-to-generate-unique-identifier

+ (NSString *)uuid

{

    CFUUIDRef uuidRef = CFUUIDCreate(NULL);

    CFStringRef uuidStringRef = CFUUIDCreateString(NULL, uuidRef);

    CFRelease(uuidRef);

    return [(NSString *)uuidStringRef autorelease];

}

 
: