AttributeContainer
A container for attribute keys and values.
Declaration
@dynamicMemberLookup struct AttributeContainerOverview
AttributeContainer provides a way to store attributes and their values outside of an attributed string. You use this type to initialize an instance of AttributedString with preset attributes, and to set, merge, or replace attributes in existing attributed strings.
Topics
Creating an Attribute Container
Accessing Attributes
subscript(_:)subscript(dynamicMember:)subscript(dynamicMember:)subscript(dynamicMember:)subscript(dynamicMember:)AttributedStringKeyAttributeContainer.Builder