Protocol

NSXPCListenerDelegate

The protocol that delegates to the XPC listener use to accept or reject new connections.

Topics

Instance Methods

func listener(NSXPCListener, shouldAcceptNewConnection: NSXPCConnection)

Accepts or rejects a new connection to the listener.

Relationships

Inherits From

See Also

XPC Services

class NSXPCListener

A listener that waits for new incoming connections, configures them, and accepts or rejects them.

class NSXPCListenerEndpoint

An object that names a specific XPC listener.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software