delegate property
NSApplicationDelegate?
get
delegate
delegate
Implementation
NSApplicationDelegate? get delegate {
objc.checkOsVersionInternal('NSApplication.delegate', iOS: (true, null));
final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_delegate);
return _ret.address == 0
? null
: NSApplicationDelegate.castFromPointer(
_ret,
retain: true,
release: true,
);
}
set
delegate
(NSApplicationDelegate? value)
setDelegate:
Implementation
set delegate(NSApplicationDelegate? value) {
objc.checkOsVersionInternal(
'NSApplication.setDelegate:',
iOS: (true, null),
);
_objc_msgSend_xtuoz7(
this.ref.pointer,
_sel_setDelegate_,
value?.ref.pointer ?? ffi.nullptr,
);
}