Contents

init(xpcRepresentation:)

Creates a USB accessory from an XPC representation.

Declaration

init?(xpcRepresentation: xpc_object_t)

Parameters

  • xpcRepresentation:

    The XPC representation of an AAUSBAccessory object received from the XPC.

Return Value

An AAUSBAccessory object if the framework decoded the provided xpc_object_t, or nil if it’s invalid.

See Also

Creating USB accessories