Generate a Unique Identifier

 Problem

I want to create a random UUID (unique identifier string).



 Recipe


// Create the Unique Identifier

let uuid = NSUUID().UUIDString
print(s)

				


 Playground