Contents

replaceAttributes(_:with:)

Replaces occurrences of attributes in one attribute container with those in another 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

Applying and Modifying Attributes