attributedStringWithAttachment static method

NSAttributedString attributedStringWithAttachment(
  1. NSTextAttachment attachment, {
  2. required NSDictionary attributes,
})

attributedStringWithAttachment:attributes:

Implementation

static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment, {required objc.NSDictionary attributes}) {
objc.checkOsVersionInternal('NSAttributedString.attributedStringWithAttachment:attributes:', iOS: (false, (18, 0, 0)), macOS: (false, (15, 0, 0)));
  final _ret = _objc_msgSend_15qeuct(_class_NSAttributedString, _sel_attributedStringWithAttachment_attributes_, attachment.ref.pointer, attributes.ref.pointer);
  return NSAttributedString.castFromPointer(_ret, retain: true, release: true);
}