XPCEndpoint
A connection in serialized form.
Declaration
struct XPCEndpointOverview
An XPCEndpoint can be passed around in an XPC message. The recipient of XPCEndpoint can use init(endpoint:targetQueue:options:cancellationHandler:) to create as many distinct sessions as desired.
Unlike a connection, the endpoint is an inert object that does not have any runtime activity associated with it.