Extend a native class:
var ButtonEditorHelper = /** @class */ (function (_super) {
__extends(ButtonEditorHelper, _super);
function ButtonEditorHelper() {
return _super !== null && _super.apply(this, arguments) || this;
}
return ButtonEditorHelper;
}(NSObject));
and try to create an instance of it using the "new" keyword:
var helper = new ButtonEditorHelper();
Currently the only supported way to instantiate this class is using the following:
var helper = ButtonEditorHelper.alloc().init();
Extend a native class:
and try to create an instance of it using the "new" keyword:
Currently the only supported way to instantiate this class is using the following: