Instance Property

placeholder

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

Declaration

var placeholder: String? { get set }

Discussion

The default value is nil.

See Also

Getting the Search Text

var prompt: String?

A single line of text displayed at the top of the search bar.

var text: String?

The current or starting search text.