Contents

init(xpcRepresentation:)

Creates a transaction coordinator from an XPC object.

Declaration

init(xpcRepresentation: xpc_object_t?) throws

Parameters

  • xpcRepresentation:

    An XPC object describing the transaction coordinator to initialize.

Discussion

This initializer can fail and throw an error if the xpcRepresentation doesn’t represent a transaction coordinator.

See Also

Sharing a transaction coordinator using XPC