git.ithinksw.org
/
ITFoundation.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upgrading ITFoundation to Xcode 3.0 and the Mac OS X 10.5 SDK.
[ITFoundation.git]
/
ITUUID.m
1
#import "ITUUID.h"
2
3
NSString *ITUUID() {
4
CFUUIDRef newUUID = CFUUIDCreate(NULL);
5
CFStringRef string = CFUUIDCreateString(NULL, newUUID);
6
CFRelease(newUUID);
7
return [(NSString *)string autorelease];
8
}