localizedAttributedStringWithFormat$1 static method
NSAttributedString
localizedAttributedStringWithFormat$1(
- NSAttributedString format, {
- required NSDictionary context,
localizedAttributedStringWithFormat:context:
iOS: introduced 17.0.0 macOS: introduced 14.0.0
Implementation
static NSAttributedString localizedAttributedStringWithFormat$1(
NSAttributedString format, {
required NSDictionary context,
}) {
objc.checkOsVersionInternal(
'NSAttributedString.localizedAttributedStringWithFormat:context:',
iOS: (false, (17, 0, 0)),
macOS: (false, (14, 0, 0)),
);
final $ret = _objc_msgSend_15qeuct(
_class_NSAttributedString,
_sel_localizedAttributedStringWithFormat_context_,
format.ref.pointer,
context.ref.pointer,
);
return NSAttributedString.fromPointer($ret, retain: true, release: true);
}