NSURLSessionStreamDelegate.castFrom constructor

NSURLSessionStreamDelegate.castFrom(
  1. ObjCObjectBase other
)

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

Implementation

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