Protocol.as constructor

Protocol.as(
  1. ObjCObject other
)

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

Implementation

Protocol.as(objc.ObjCObject other) : object$ = other {
  assert(isA(object$));
}