contentView property

NSView? get contentView

contentView

Implementation

NSView? get contentView {
  objc.checkOsVersionInternal('NSWindow.contentView', iOS: (true, null));
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_contentView);
  return _ret.address == 0
      ? null
      : NSView.castFromPointer(_ret, retain: true, release: true);
}
set contentView (NSView? value)

setContentView:

Implementation

set contentView(NSView? value) {
  objc.checkOsVersionInternal('NSWindow.setContentView:', iOS: (true, null));
  _objc_msgSend_xtuoz7(
    this.ref.pointer,
    _sel_setContentView_,
    value?.ref.pointer ?? ffi.nullptr,
  );
}