tryToPerform method
tryToPerform:with:
Implementation
bool tryToPerform(
ffi.Pointer<objc.ObjCSelector> action, {
objc.ObjCObjectBase? with$,
}) {
objc.checkOsVersionInternal(
'NSApplication.tryToPerform:with:',
iOS: (true, null),
);
return _objc_msgSend_1f04296(
this.ref.pointer,
_sel_tryToPerform_with_,
action,
with$?.ref.pointer ?? ffi.nullptr,
);
}