Contents

current()

Returns the current connection, in the context of a call to a method on your exported object.

Declaration

class func current() -> NSXPCConnection?

Return Value

An NSXPCConnection object, representing a connection to another process.

Discussion

Use this method to determine what process invoked the current call.

See Also

Managing connection state