Instance Property

undoActionName

The name identifying the undo action.

Declaration

var undoActionName: String { get }

Discussion

The undo action name. Returns an empty string (@"") if no action name has been assigned or if there is nothing to undo.

For example, if the menu title is “Undo Delete,” the string returned is “Delete.”

See Also

Managing the Action Name

var redoActionName: String

The name identifying the redo action.

func setActionName(String)

Sets the name of the action associated with the Undo or Redo command.