Instance Property

hasText

A Boolean value that indicates whether the text-entry objects has any text.

Required.

Declaration

var hasText: Bool { get }

Return Value

true if the backing store has textual content, false otherwise.

See Also

Inserting and Deleting Text

func insertText(String)

Insert a character into the displayed text.

Required.

func deleteBackward()

Delete a character from the displayed text.

Required.