indexOfObject$2 method
int
indexOfObject$2(
- ObjCObject obj, {
- required NSRange inSortedRange,
- required int options,
- required ObjCBlock<
Long Function(Pointer< usingComparator,ObjCObjectImpl> , Pointer<ObjCObjectImpl> )>
indexOfObject:inSortedRange:options:usingComparator:
Implementation
int indexOfObject$2(
objc.ObjCObject obj, {
required NSRange inSortedRange,
required int options,
required objc.ObjCBlock<
ffi.Long Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCObjectImpl>,
)
>
usingComparator,
}) {
objc.checkOsVersionInternal(
'NSArray.indexOfObject:inSortedRange:options:usingComparator:',
iOS: (false, (4, 0, 0)),
macOS: (false, (10, 6, 0)),
);
return _objc_msgSend_kshx9d(
object$.ref.pointer,
_sel_indexOfObject_inSortedRange_options_usingComparator_,
obj.ref.pointer,
inSortedRange,
options,
usingComparator.ref.pointer,
);
}