settingAttributes(_:)
Returns an attributed string by setting the attributed string’s attributes to those in a specified attribute container.
Declaration
func settingAttributes(_ attributes: AttributeContainer) -> AttributedStringParameters
- attributes:
The attribute container with the attributes to apply.
Return Value
An attributed string from setting the attributed string’s attributes to those in a specified attribute container.