delegate property

NSTextViewDelegate? get delegate

delegate

Implementation

NSTextViewDelegate? get delegate {
  objc.checkOsVersionInternal('NSTextView.delegate', iOS: (true, null));
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_delegate);
  return _ret.address == 0
      ? null
      : NSTextViewDelegate.castFromPointer(_ret, retain: true, release: true);
}
set delegate (NSTextViewDelegate? value)

setDelegate:

Implementation

set delegate(NSTextViewDelegate? value) {
  objc.checkOsVersionInternal('NSTextView.setDelegate:', iOS: (true, null));
  _objc_msgSend_xtuoz7(
    this.ref.pointer,
    _sel_setDelegate_,
    value?.ref.pointer ?? ffi.nullptr,
  );
}