initWithFormat method

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

initWithFormat:options:locale:

Implementation

NSAttributedString initWithFormat(NSAttributedString format, {required NSAttributedStringFormattingOptions 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(this.ref.retainAndReturnPointer(), _sel_initWithFormat_options_locale_, format.ref.pointer, options.value, locale?.ref.pointer ?? ffi.nullptr);
  return NSAttributedString.castFromPointer(_ret, retain: false, release: true);
}