Initializer

init(nsuuid:)

Creates and returns a CBUUID object from an NSUUID object.

Declaration

init(nsuuid theUUID: UUID)

Parameters

theUUID

A UUID represented by an NSUUID object.

Return Value

A new CBUUID object for the specified UUID.

See Also

Creating New CBUUID Objects

init(string: String)

Creates and returns a CBUUID object from a 16-bit, 32-bit, or 128-bit UUID string.

init(data: Data)

Creates and returns a CBUUID object from a 16-bit, 32-bit, or 128-bit UUID data container.

init(cfuuid: CFUUID)

Creates and returns a CBUUID object from a CFUUID object.

Deprecated
var data: Data

The data of the UUID.

var uuidString: String

The UUID represented as a string.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software