Enumeration 列挙

AttributedString.AttributeMergePolicy

An enumeration of behaviors to apply when merging attributes.

Declaration 宣言

enum AttributedString.AttributeMergePolicy

Overview 概要

Use an AttributedString.AttributeMergePolicy when working with methods like mergeAttributes(_:mergePolicy:) to indicate how to resolve conflicts between multiple sets of attributes. When a source string and a merging attribute container both contain a given attribute with different values, the merge policy determines how to resolve the conflict.

Topics 話題

Merge Policies

Hashing ハッシュ化

Comparing Merge Policies

See Also 参照

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