accessibilityRTFForRange method

NSData? accessibilityRTFForRange(
  1. NSRange range
)

accessibilityRTFForRange:

Implementation

objc.NSData? accessibilityRTFForRange(NSRange range) {
  objc.checkOsVersionInternal(
    'NSApplication.accessibilityRTFForRange:',
    iOS: (true, null),
    macOS: (false, (10, 10, 0)),
  );
  final _ret = _objc_msgSend_1k1o1s7(
    this.ref.pointer,
    _sel_accessibilityRTFForRange_,
    range,
  );
  return _ret.address == 0
      ? null
      : objc.NSData.castFromPointer(_ret, retain: true, release: true);
}