setAttributes(_:)
Sets the attributed string’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.