root/trunk/Utilities.m

Revision 31, 304 bytes (checked in by bart, 4 years ago)

Removed header

  • Property svn:eol-style set to native
Line 
1 #import "Utilities.h"
2 #import <CoreFoundation/CoreFoundation.h>
3
4 NSString *CreateUUID()
5 {
6         CFUUIDRef uuid = CFUUIDCreate(kCFAllocatorDefault);
7         CFStringRef uuidStr = CFUUIDCreateString(kCFAllocatorDefault, uuid);
8         CFRelease(uuid);
9         NSString *result = [(NSString *)uuidStr autorelease];
10         return result;
11 }
Note: See TracBrowser for help on using the browser.