Swift 产生 uuid

 

项目中、需要客户端生成一个唯一的识别码

 

let uuid = UUID().uuidString
print(uuid)

 

posted @ 2019-01-16 16:38  鸿鹄当高远  阅读(4332)  评论(0编辑  收藏  举报