appearance property
NSAppearance?
get
appearance
appearance
Implementation
NSAppearance? get appearance {
objc.checkOsVersionInternal(
'NSApplication.appearance',
iOS: (true, null),
macOS: (false, (10, 9, 0)),
);
final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_appearance);
return _ret.address == 0
? null
: NSAppearance.castFromPointer(_ret, retain: true, release: true);
}
set
appearance
(NSAppearance? value)
setAppearance:
Implementation
set appearance(NSAppearance? value) {
objc.checkOsVersionInternal(
'NSApplication.setAppearance:',
iOS: (true, null),
macOS: (false, (10, 9, 0)),
);
_objc_msgSend_xtuoz7(
this.ref.pointer,
_sel_setAppearance_,
value?.ref.pointer ?? ffi.nullptr,
);
}