Re: How to create a GUID?
Re: How to create a GUID?
- Subject: Re: How to create a GUID?
- From: Kirk Kerekes <email@hidden>
- Date: Sun, 7 Sep 2008 20:19:05 -0500
@implementation NSString (KKUUIDString)
+ (NSString *) UUIDString
{
CFUUIDRef UIDRef;
NSString *uidString;
UIDRef = CFUUIDCreate(NULL);
uidString = (NSString *)CFUUIDCreateString(NULL, UIDRef);
CFRelease(UIDRef);
return [uidString autorelease];
}
@end
On Sep 7, 2008, at 5:43 PM, email@hidden wrote:
Message: 12
Date: Sun, 07 Sep 2008 12:57:26 -0500
From: Scott Ribe <email@hidden>
Subject: Re: How to create a GUID?
To: Klaus Backert <email@hidden>,
<email@hidden>
Message-ID: <C4E98036.A2467%email@hidden>
Content-Type: text/plain; charset="US-ASCII"
is
there any reason why this could not be implemented as a class method
It really *should* be a class method.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden