init(serviceName:)
Initializes an Nsxpcconnection object to connect to an Nsxpclistener object in an XPC service, identified by a service name.
Declaration
init(serviceName: String)Discussion
XPC services are helper processes that are usually part of your application bundle. The service should use NSXPCListener to wait for new connections.