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

merge(_:mergePolicy:)

Merges the container’s attributes with those in another attribute container.

Declaration 宣言

mutating func merge(_ other: AttributeContainer, mergePolicy: AttributedString.AttributeMergePolicy = .keepNew)

Parameters パラメータ

other

The attribute container with the attributes to merge.

mergePolicy

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

See Also 参照

Modifying Attributes