AttributeScopes.CoreTextAttributes
A namespace for attributes defined by CoreText.
Declaration
struct CoreTextAttributesOverview
Note that this is not an AttributeScope, but merely a namespace for AttributedStringKeys that describe CoreText concepts. Those attributes may be used by other frameworks to describe those concepts. Unless documented otherwise, frameworks generally inidcate support for a certain attribute by adding it to the framework’s AttributeScope.
CoreText specifically does not support Swift AttributedStringKey, and will not recognize the attributes nested in this namespace when used directly with CoreText API, no matter if used in an AttributedString or NSAttributedString.