Type Method

interfaceWithProtocol:

Returns an NSXPCInterface instance for a given protocol.

Declaration

+ (NSXPCInterface *)interfaceWithProtocol:(Protocol *)protocol;

Discussion

Most interfaces do not need any further configuration. Interfaces with collection classes or additional proxy objects should be configured using the other methods in this class.