Initializer

init()

Initializes a new UUID with RFC 4122 version 4 random bytes.

Declaration

init()

Return Value

A new UUID object.

See Also

Creating UUIDs

init?(uuidString: String)

Initializes a new UUID with the formatted string.

init(uuidBytes: UnsafePointer<UInt8>?)

Initializes a new UUID with the given bytes.