func settingAttributes (AttributeContainer) -> AttributedString
Returns an attributed string by setting the attributed string’s attributes to those in a specified attribute container.
属性付き文字列をその属性付き文字列のもつ属性それらをある指定された属性コンテナの中のそれらへと設定することによって返します。
enum AttributedString.AttributeMergePolicy
An enumeration of behaviors to apply when merging attributes.
func replacingAttributes (AttributeContainer, with: AttributeContainer) -> AttributedString
Returns an attributed string by replacing occurrences of attributes in one attribute container with those in another attribute container.