Return to Snippet

Revision: 51613
at September 29, 2011 13:42 by yasirmturk


Initial Code
+(NSString*)GUIDString {
    CFUUIDRef theUUID = CFUUIDCreate(NULL);
    CFStringRef string = CFUUIDCreateString(NULL, theUUID);
    CFRelease(theUUID);
    return [(NSString *)string autorelease];
}

Initial URL

                                

Initial Description

                                

Initial Title
Generate Unique GUID in iOS sdk

Initial Tags
ios

Initial Language
Objective C