Contents

didEstablishConnection(withHost:version:)

Notifies your XPC service that a connection was established with the host.

Declaration

optional func didEstablishConnection(withHost hostBundleIdentifier: String!, version hostVersionString: String!)

Parameters

  • hostBundleIdentifier:

    The NSBundleIdentifier of the host application that launched this XPC service.

  • hostVersionString:

    The NSShortVersionString of the host application that launched this XPC service.

Discussion

Your delegate can implement this protocol to be informed of which host application is calling your plug-in.