Contents

replaceAttributes(_:with:)

Replaces the attributed string’s attributes with those in a specified attribute container.

Declaration

mutating func replaceAttributes(_ attributes: AttributeContainer, with others: AttributeContainer)

Parameters

  • attributes:

    The existing attributes to replace.

  • others:

    The new attributes to apply.

See Also

Mutating the String’s Attributes