Contents

selectedTextAttributes

The attributes used to indicate the selection.

Declaration

var selectedTextAttributes: [NSAttributedString.Key : Any] { get set }

Discussion

Text color, background color, and underline are the only supported attributes for selected text.

See Also

Managing the selection