localizedAttributedStringWithFormat$2 static method
NSAttributedString
localizedAttributedStringWithFormat$2(
- NSAttributedString format, {
- required int options,
localizedAttributedStringWithFormat:options:
iOS: introduced 15.0.0 macOS: introduced 12.0.0
Implementation
static NSAttributedString localizedAttributedStringWithFormat$2(
NSAttributedString format, {
required int options,
}) {
objc.checkOsVersionInternal(
'NSAttributedString.localizedAttributedStringWithFormat:options:',
iOS: (false, (15, 0, 0)),
macOS: (false, (12, 0, 0)),
);
final $ret = _objc_msgSend_s058d2(
_class_NSAttributedString,
_sel_localizedAttributedStringWithFormat_options_,
format.ref.pointer,
options,
);
return NSAttributedString.fromPointer($ret, retain: true, release: true);
}