If you want to get the string representation of a UUID in Swift you can call the uuidString
property from the struct:
let uuid = UUID()
print("Your UUID is \(uuid.uuidString)")
💻Software engineer
🇪🇸From Madrid, Spain
💼Building a one-person business
🧱LEGO collector
Back
If you want to get the string representation of a UUID in Swift you can call the uuidString
property from the struct:
let uuid = UUID()
print("Your UUID is \(uuid.uuidString)")