Skip to content

Instantly share code, notes, and snippets.

@monkeydom
Created August 31, 2011 16:45
Show Gist options
  • Select an option

  • Save monkeydom/1184018 to your computer and use it in GitHub Desktop.

Select an option

Save monkeydom/1184018 to your computer and use it in GitHub Desktop.
ARC UUIDString generation method.
+ (NSString *)UUIDString {
CFUUIDRef myUUID = CFUUIDCreate(NULL);
NSString *myUUIDString = CFBridgingRelease(CFUUIDCreateString(NULL, myUUID));
CFRelease(myUUID);
return myUUIDString;
}
@monkeydom
Copy link
Author

This is no template yet - just a try. Need others to verfiy and maybe some time to let things settle in…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment