Contents

setAttributes(_:)

Sets the attributed substring’s attributes to those in a specified attribute container.

Declaration

mutating func setAttributes(_ attributes: AttributeContainer)

Parameters

  • attributes:

    The attribute container with the attributes to apply.

See Also

Applying and Modifying Attributes