setAttributedText(_:)
Sets the styled text displayed by the text field.
Declaration
func setAttributedText(_ attributedText: NSAttributedString?)Parameters
- attributedText:
The styled text displayed in the text field. Specifying
nilclears the current text.