Configures a specific parameter of a method to be sent as a proxy object instead of copied.
- iOS 11.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
NSXPCInterfaceobject that describes the protocol for the proxy object. The interface is configured the same way as the interface for an exported object or remote object proxy.
Specifies which method in the protocol is being configured.
Specifies the position (starting at index 0) of the parameter for which you are configuring a proxy object. This may be either the position of a parameter in the method itself or the position in its reply block. This argument must be an object.
argis an index into the parameters of the reply block, or
falseif it is an index into the parameters of the method itself.
If an argument to a method in your protocol should be sent as a proxy object instead of by copy, then configure the interface for that protocol with a new interface for a specific argument. An example of an object that should be a proxy instead of being copied is a view object.