Chinaunix首页 | 论坛 | 博客
  • 博客访问: 869441
  • 博文数量: 322
  • 博客积分: 6688
  • 博客等级: 准将
  • 技术积分: 3626
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-19 11:26
文章分类

全部博文(322)

文章存档

2013年(5)

2012年(66)

2011年(87)

2010年(164)

分类: BSD

2012-04-05 13:29:04

  1. + (NSString*) stringWithUUID {
  2.    CFUUIDRef    uuidObj = CFUUIDCreate(nil);//create a new UUID
  3.    //get the string representation of the UUID
  4.    NSString    *uuidString = (NSString*)CFUUIDCreateString(nil, uuidObj);
  5.    CFRelease(uuidObj);
  6.    return [uuidString autorelease];
  7. }
阅读(526) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~