Class

NSXPCInterface

Class that describes the methods that may be sent to an exported object or remote object proxy.

Overview

This object holds all information about the interface of an exported object or remote object proxy. It describes what messages are allowed, what kinds of objects are allowed as arguments, what the signature of any reply blocks are, and information about additional proxy objects.

Symbols

Miscellaneous

func classes(for: Selector, argumentIndex: Int, ofReply: Bool)

Returns the current list of allowed classes that can appear within the specified collection object argument to the specified method.

func forSelector(Selector, argumentIndex: Int, ofReply: Bool)

Returns the interface previously set for the specified selector and parameter.

func setClasses(Set<AnyHashable>, for: Selector, argumentIndex: Int, ofReply: Bool)

Sets the classes that can appear within the (numerically) specified collection object argument to the specified method.

func setInterface(NSXPCInterface, for: Selector, argumentIndex: Int, ofReply: Bool)

Configures a specific parameter of a method to be sent as a proxy object instead of copied.

init(with: Protocol)

Returns an NSXPCInterface instance for a given protocol.

var `protocol`: Protocol

The Objective-C protocol that this interface is based on.

Relationships

Inherits From

Conforms To