localizedAttributedStringWithFormat$3 static method

NSAttributedString localizedAttributedStringWithFormat$3(
  1. NSAttributedString format, {
  2. required int options,
  3. required NSDictionary context,
})

localizedAttributedStringWithFormat:options:context:

iOS: introduced 17.0.0 macOS: introduced 14.0.0

Implementation

static NSAttributedString localizedAttributedStringWithFormat$3(
  NSAttributedString format, {
  required int options,
  required NSDictionary context,
}) {
  objc.checkOsVersionInternal(
    'NSAttributedString.localizedAttributedStringWithFormat:options:context:',
    iOS: (false, (17, 0, 0)),
    macOS: (false, (14, 0, 0)),
  );
  final $ret = _objc_msgSend_187k8ck(
    _class_NSAttributedString,
    _sel_localizedAttributedStringWithFormat_options_context_,
    format.ref.pointer,
    options,
    context.ref.pointer,
  );
  return NSAttributedString.fromPointer($ret, retain: true, release: true);
}