Instance Method インスタンスメソッド

mergeAttributes(_:mergePolicy:)

Merges the attributed string’s attributes with those in a specified attribute container.

Declaration 宣言

mutating func mergeAttributes(_ attributes: AttributeContainer, mergePolicy: AttributedString.AttributeMergePolicy = .keepNew)

Parameters パラメータ

attributes

The attribute container with the attributes to merge.

mergePolicy

A policy to use when resolving conflicts between this string’s attributes and those in attributes.

Relationships 関係

From Protocol 由来プロトコル

See Also 参照

Applying and Modifying Attributes 属性の適用と修正