Re: Strings from UUID
Re: Strings from UUID
- Subject: Re: Strings from UUID
- From: Vince DeMarco <email@hidden>
- Date: Fri, 9 Aug 2002 15:04:55 -0700
On Friday, August 9, 2002, at 10:32 AM, Jeremy Dronfield wrote:
Could someone show me a reliable way (with code example if poss) of
creating a UUID, turning it into a CString, then into an NSString.
I tried to RTFM, but the F thing was F incomprehensible.
CFUUIDRef UIDRef;
NSString *uidString;
UIDRef = CFUUIDCreate(NULL);
uidString = (NSString *)CFUUIDCreateString(NULL, UIDRef);
CFRelease(UIDRef);
So stuff with uidString then release it
vince
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.