textField_textView_candidates_forSelectedRange_ property

ObjCProtocolMethod<NSArray Function(NSTextField, NSTextView, NSArray, NSRange)> textField_textView_candidates_forSelectedRange_
final

textField:textView:candidates:forSelectedRange:

Implementation

static final textField_textView_candidates_forSelectedRange_ =
    objc.ObjCProtocolMethod<
      objc.NSArray Function(NSTextField, NSTextView, objc.NSArray, NSRange)
    >(
      _protocol_NSSearchFieldDelegate,
      _sel_textField_textView_candidates_forSelectedRange_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                NSRange,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1rp5l9d)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSSearchFieldDelegate,
        _sel_textField_textView_candidates_forSelectedRange_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        objc.NSArray Function(NSTextField, NSTextView, objc.NSArray, NSRange)
        func,
      ) =>
          ObjCBlock_NSArray_ffiVoid_NSTextField_NSTextView_NSArray_NSRange.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextField arg1,
              NSTextView arg2,
              objc.NSArray arg3,
              NSRange arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
    );