Contents

NSAttributedString.TextHighlightColorScheme

Constants that specify the highlight color to use with the text.

Declaration

struct TextHighlightColorScheme

Overview

Use an NSAttributedString.TextHighlightColorScheme structure as the value of the textHighlightColorScheme attribute. That attribute specifies which color to use when drawing the highlight on the text. This attribute specifies only the color option. To display the highlight itself, add the textHighlightStyle attribute to the text.

Topics

Getting the color schemes

Creating a color scheme

See Also

Getting text content attributes