enumerateTextElementsFromLocation_options_usingBlock_ property
ObjCProtocolMethod<NSTextLocation? Function(NSTextLocation?, NSTextContentManagerEnumerationOptions, ObjCBlock<Bool Function(NSTextElement)> )>
enumerateTextElementsFromLocation_options_usingBlock_
final
enumerateTextElementsFromLocation:options:usingBlock:
Implementation
static final enumerateTextElementsFromLocation_options_usingBlock_ =
objc.ObjCProtocolMethod<
NSTextLocation? Function(
NSTextLocation?,
NSTextContentManagerEnumerationOptions,
objc.ObjCBlock<ffi.Bool Function(NSTextElement)>,
)
>(
_protocol_NSTextElementProvider,
_sel_enumerateTextElementsFromLocation_options_usingBlock_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Pointer<objc.ObjCObject> Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
NSUInteger,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>(_NativeBindingBindings_protocolTrampoline_1dxsa0d)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSTextElementProvider,
_sel_enumerateTextElementsFromLocation_options_usingBlock_,
isRequired: true,
isInstanceMethod: true,
),
(
NSTextLocation? Function(
NSTextLocation?,
NSTextContentManagerEnumerationOptions,
objc.ObjCBlock<ffi.Bool Function(NSTextElement)>,
)
func,
) =>
ObjCBlock_idNSTextLocation_ffiVoid_idNSTextLocation_NSTextContentManagerEnumerationOptions_boolNSTextElement.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSTextLocation? arg1,
NSTextContentManagerEnumerationOptions arg2,
objc.ObjCBlock<ffi.Bool Function(NSTextElement)> arg3,
) => func(arg1, arg2, arg3),
),
);