xpc_endpoint_create(_:)
Creates a new endpoint from a connection that is suitable for embedding into messages.
Declaration
func xpc_endpoint_create(_ connection: xpc_connection_t) -> xpc_endpoint_tParameters
- connection:
Only connections obtained through calls to one of the
xpc_connection_createfunctions may be given to this API. Passing any other type of connection is not supported and will result in undefined behavior.
Return Value
A new endpoint object.