Instance Method

append(_:)

Adds the characters and attributes of a given attributed string to the end of the receiver.

Declaration

func append(_ attrString: NSAttributedString)

Parameters

attributedString

The string whose characters and attributes are added.

See Also

Changing characters and attributes

func insert(NSAttributedString, at: Int)

Inserts the characters and attributes of the given attributed string into the receiver at the given index.

func replaceCharacters(in: NSRange, with: NSAttributedString)

Replaces the characters and attributes in a given range with the characters and attributes of the given attributed string.

func setAttributedString(NSAttributedString)

Replaces the receiver’s entire contents with the characters and attributes of the given attributed string.