func setAttributes (AttributeContainer)
Sets the attributed string’s attributes to those in a specified attribute container.
属性付き文字列のもつ属性それらをある指定された属性コンテナの中のそれらへと設定します。
func mergeAttributes (AttributeContainer, mergePolicy : AttributedString.AttributeMergePolicy)
Merges the attributed string’s attributes with those in a specified attribute container.
func mergingAttributes (AttributeContainer, mergePolicy : AttributeMergePolicy) -> AttributedString
Returns an attributed string by merging the attributed string’s attributes with those in a specified attribute container.
enum AttributedString.AttributeMergePolicy
An enumeration of behaviors to apply when merging attributes.
func replaceAttributes (AttributeContainer, with: AttributeContainer)
Replaces occurrences of attributes in one attribute container with those in another attribute container.
一方の属性コンテナの中の属性それらの出現を別の属性コンテナの中のそれらと置き換えます。
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.
protocol AttributedStringAttributeMutation
A protocol that defines in-place mutations for attributes in an attributed string.
あるプロトコル、それはその場での変異をある属性付き文字列の中の属性それらに対して定義します。