textView_willShowSharingServicePicker_forItems_ property

ObjCProtocolMethod<NSSharingServicePicker? Function(NSTextView, NSSharingServicePicker, NSArray)> textView_willShowSharingServicePicker_forItems_
final

textView:willShowSharingServicePicker:forItems:

Implementation

static final textView_willShowSharingServicePicker_forItems_ =
    objc.ObjCProtocolMethod<
      NSSharingServicePicker? Function(
        NSTextView,
        NSSharingServicePicker,
        objc.NSArray,
      )
    >(
      _protocol_NSTextViewDelegate,
      _sel_textView_willShowSharingServicePicker_forItems_,
      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>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1yw2rcr)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewDelegate,
        _sel_textView_willShowSharingServicePicker_forItems_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        NSSharingServicePicker? Function(
          NSTextView,
          NSSharingServicePicker,
          objc.NSArray,
        )
        func,
      ) =>
          ObjCBlock_NSSharingServicePicker_ffiVoid_NSTextView_NSSharingServicePicker_NSArray.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextView arg1,
              NSSharingServicePicker arg2,
              objc.NSArray arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );