connection
Returns the NSConnection object that uses the receiver.
Declaration
- (NSConnection *) connection;Return Value
The NSConnection object that uses the receiver. In an object’s encode(with:) method, this is the sending (server) connection. In init(coder:) this is the receiving (client) connection.