attributedStringWithAttachment static method
attributedStringWithAttachment:
Implementation
static NSAttributedString attributedStringWithAttachment(
NSTextAttachment attachment,
) {
objc.checkOsVersionInternal(
'NSAttributedString.attributedStringWithAttachment:',
iOS: (false, (7, 0, 0)),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
_class_NSAttributedString,
_sel_attributedStringWithAttachment_,
attachment.ref.pointer,
);
return NSAttributedString.castFromPointer(
_ret,
retain: true,
release: true,
);
}