makeLibXPCConnectionError:
Creates a new XPC connection to the extension process.
Declaration
- (xpc_connection_t) makeLibXPCConnectionError:(NSError **) error;Parameters
- error:
If an error occurs, upon return contains an Nserror object that describes the problem. If you don’t want information about errors that happen, pass in
NULL.
Return Value
An object that represents the new XPC connection, or nil if an error occurs.
Discussion
When you create an xpc_connection_t in your browser app using this method, the system calls your extension’s handle(xpcConnection:) method to supply the remote end of the connection to your extension process.