A Swift implementation of UUID
let uuid = UUID(version: .v1)
let uuid = UUID(bytes: [0x12, 0x3E, 0x45, 0x67, 0xE8, 0x9B, 0x12, 0xD3, 0xA4, 0x56, 0x42, 0x66, 0x55, 0x44, 0x00, 0x00])
let uuid = UUID(string: "123e4567-e89b-12d3-a456-426655440000")
$ sudo apt-get install libbsd-dev