OS_object.castFrom constructor

OS_object.castFrom(
  1. ObjCObjectBase other
)

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

Implementation

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