transitInformationCheckingResultWithRange static method

NSTextCheckingResult transitInformationCheckingResultWithRange(
  1. NSRange range, {
  2. required NSDictionary components,
})

transitInformationCheckingResultWithRange:components:

Implementation

static NSTextCheckingResult transitInformationCheckingResultWithRange(
  NSRange range, {
  required objc.NSDictionary components,
}) {
  objc.checkOsVersionInternal(
    'NSTextCheckingResult.transitInformationCheckingResultWithRange:components:',
    iOS: (false, (4, 0, 0)),
    macOS: (false, (10, 7, 0)),
  );
  final _ret = _objc_msgSend_bstjp9(
    _class_NSTextCheckingResult,
    _sel_transitInformationCheckingResultWithRange_components_,
    range,
    components.ref.pointer,
  );
  return NSTextCheckingResult.castFromPointer(
    _ret,
    retain: true,
    release: true,
  );
}