instanceMethodForSelector static method

Pointer<NativeFunction<Void Function()>> instanceMethodForSelector(
  1. Pointer<ObjCSelector> aSelector
)

instanceMethodForSelector:

Implementation

static ffi.Pointer<ffi.NativeFunction<ffi.Void Function()>>
instanceMethodForSelector(ffi.Pointer<objc.ObjCSelector> aSelector) {
  objc.checkOsVersionInternal(
    'NSObject.instanceMethodForSelector:',
    iOS: (false, (2, 0, 0)),
    macOS: (false, (10, 0, 0)),
  );
  return _objc_msgSend_1pa9f4m(
    _class_NSObject,
    _sel_instanceMethodForSelector_,
    aSelector,
  );
}