Contents

servicePrincipal()

Retrieves a pointer to the proxy object used for sandboxed out-of-process tasks.

Declaration

func servicePrincipal() -> Any!

Return Value

An object used for XPC communication with the out-of-process service principal.

Discussion

If this method returns nil, the host app is unable to communicate with your plug-in’s XPC service.