Enabling garbage collection support.
[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 }