Instance Method

deleteBackward()

Delete a character from the displayed text.

Required.

Declaration

func deleteBackward()

Discussion

Remove the character just before the cursor from your class’s backing store and redisplay the text.

See Also

Inserting and Deleting Text

func insertText(String)

Insert a character into the displayed text.

Required.

var hasText: Bool

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

Required.