Contents

placeholder

The string that displays when there is no other text in the text field.

Declaration

var placeholder: String? { get set }

Discussion

This value is nil by default. The placeholder string is drawn using a system-defined color.

See Also

Configuring the text attributes