The styled text displayed by the text field.
- iOS 6.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
This property is
nil by default. Assigning a new value to this property also replaces the value of the
text property with the same string data, albeit without any formatting information. In addition, assigning a new value updates the values in the
text, and other style-related properties so that they reflect the style information starting at location
0 in the attributed string.