UIViewControllerPreviewing.castFrom constructor

UIViewControllerPreviewing.castFrom(
  1. ObjCObjectBase other
)

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

Implementation

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