EnumerationFoundationEssentials
AttributedString.AttributeMergePolicy
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
A type that defines the behavior when merging attributes.
enum AttributeMergePolicy
Topics
Enumeration Cases
case keepCurrentThe existing value for this attribute takes precedence.case keepNewThe new value for this attribute takes precedence.
Relationships
Conforms To
Swift.EquatableSwift.HashableSwift.SendableSwift.SendableMetatype