replaceCharactersInRange method

void replaceCharactersInRange(
  1. NSRange range, {
  2. required NSAttributedString withAttributedString,
})

replaceCharactersInRange:withAttributedString:

Implementation

void replaceCharactersInRange(
  NSRange range, {
  required NSAttributedString withAttributedString,
}) {
  objc.checkOsVersionInternal(
    'NSMutableAttributedString.replaceCharactersInRange:withAttributedString:',
    iOS: (false, (3, 2, 0)),
    macOS: (false, (10, 0, 0)),
  );
  _objc_msgSend_1tv4uax(
    this.ref.pointer,
    _sel_replaceCharactersInRange_withAttributedString_,
    range,
    withAttributedString.ref.pointer,
  );
}