allowsEditingTextAttributes
A Boolean value that controls whether the user can change font attributes of the text field’s string.
Declaration
var allowsEditingTextAttributes: Bool { get set }Discussion
If true, and the text value is an attributed string, the text field’s content displays using the attributed string’s visual settings. The user can modify the text field’s style attributes in the font panel.
If false, and the text is an attributed string, the text field ignores style attributes, such as font and color. The text field’s content displays according to the text field’s settings. The text field ignores changes to the attributed string’s attributes when displaying the string and when the text field is in edit mode.