NSHost.castFrom constructor

NSHost.castFrom(
  1. ObjCObjectBase other
)

Constructs a NSHost that points to the same underlying object as other.

Implementation

NSHost.castFrom(objc.ObjCObjectBase other)
  : this._(other.ref.pointer, retain: true, release: true);