addAttribute
TypeScriptaddAttribute(name: NSAttributedString_Key, value: unknown, range: SDKHandle): voidSwift declarationfunc addAttribute(_ name: NSAttributedString.Key, value: Any, range: NSRange)class · iOS 3.2+ · SDK 27.1
class NSMutableAttributedStringaddAttribute(name: NSAttributedString_Key, value: unknown, range: SDKHandle): voidSwift declarationfunc addAttribute(_ name: NSAttributedString.Key, value: Any, range: NSRange)addAttributes(attrs: NativeMap<NSAttributedString_Key, unknown>, range: SDKHandle): voidSwift declarationfunc addAttributes(_ attrs: [NSAttributedString.Key : Any] = [:], range: NSRange)append(attrString: NSAttributedString): voidSwift declarationfunc append(_ attrString: NSAttributedString)beginEditing(): voidSwift declarationfunc beginEditing()deleteCharacters(range: SDKHandle): voidSwift declarationfunc deleteCharacters(in range: NSRange)endEditing(): voidSwift declarationfunc endEditing()static init(): NSMutableAttributedStringSwift declarationinit()insert(attrString: NSAttributedString, loc: number): voidSwift declarationfunc insert(_ attrString: NSAttributedString, at loc: Int)removeAttribute(name: NSAttributedString_Key, range: SDKHandle): voidSwift declarationfunc removeAttribute(_ name: NSAttributedString.Key, range: NSRange)replaceCharactersInWith(range: SDKHandle, attrString: NSAttributedString): voidSwift declarationfunc replaceCharacters(in range: NSRange, with attrString: NSAttributedString)replaceCharactersInWith67105(range: SDKHandle, str: string): voidSwift declarationfunc replaceCharacters(in range: NSRange, with str: String)setAttributedString(attrString: NSAttributedString): voidSwift declarationfunc setAttributedString(_ attrString: NSAttributedString)setAttributes(attrs: (NativeMap<NSAttributedString_Key, unknown>) | null, range: SDKHandle): voidSwift declarationfunc setAttributes(_ attrs: [NSAttributedString.Key : Any]?, range: NSRange)get mutableString(): NSMutableStringSwift declarationvar mutableString: NSMutableString { get }No declarations were skipped in this snapshot.