initWithTarget_connection_ method

NSDistantObject? initWithTarget_connection_(
  1. NSObject target,
  2. NSConnection connection
)

Implementation

NSDistantObject? initWithTarget_connection_(
    NSObject target, NSConnection connection) {
  final _ret = _lib._objc_msgSend_579(
      _id, _lib._sel_initWithTarget_connection_1, target._id, connection._id);
  return _ret.address == 0
      ? null
      : NSDistantObject._(_ret, _lib, retain: true, release: true);
}