startServicePrincipal(with:)
Start your XPC service listening for connections from the host application.
Declaration
class func startServicePrincipal(with delegate: (any FxPrincipalDelegate)!)Parameters
- delegate:
An object that implements the Fxprincipaldelegate or
nil.
Discussion
Once a connection is established, your delegate will be informed of the host application’s ID and version.