Protocol

NSXPCProxyCreating

Methods for creating new proxy objects.

Overview

NSXPCConnection implements this protocol. All objects returned from the methods in this protocol also implement the protocol. This allows creation of new proxies from other proxies.

Topics

Instance Methods

func remoteObjectProxy()

Returns a proxy object with no error handling block.

Required.

func remoteObjectProxyWithErrorHandler((Error) -> Void)

Returns a proxy object that invokes the error handling block if an error occurs on the connection.

Required.

Relationships

Adopted By

See Also

XPC Client

class NSXPCConnection

A bidirectional communication channel between two processes.

class NSXPCInterface

An interface that may be sent to an exported object or remote object proxy.

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