initWithFormat method

NSAttributedString initWithFormat(
  1. NSAttributedString format, {
  2. required int options,
  3. NSLocale? locale,
})

initWithFormat:options:locale:

Implementation

objc.NSAttributedString initWithFormat(objc.NSAttributedString format, {required int options,objc.NSLocale? locale}) {
objc.checkOsVersionInternal('NSAttributedString.initWithFormat:options:locale:', iOS: (false, (15, 0, 0)), macOS: (false, (12, 0, 0)));
  final $ret = _objc_msgSend_187k8ck(object$.ref.retainAndReturnPointer(), _sel_initWithFormat_options_locale_, format.ref.pointer, options, locale?.ref.pointer ?? ffi.nullptr);
  return objc.NSAttributedString.fromPointer($ret, retain: false, release: true);
}