UIBarItem.as constructor

UIBarItem.as(
  1. ObjCObject other
)

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

Implementation

UIBarItem.as(objc.ObjCObject other) : object$ = other {
  objc.checkOsVersionInternal('UIBarItem', iOS: (false, (2, 0, 0)));
  assert(isA(object$));
}