Contents

makeLibXPCConnectionError()

Creates a new libXPC connection to the extension process.

Declaration

func makeLibXPCConnectionError() throws -> xpc_connection_t

Return Value

The connection object representing the created libXPC connection or nil.

Discussion

This method creates a connection to the extension process and returns it. If it isn’t possible to make an XPC connection, this method returns nil and populates the error parameter.

See Also