Instance Property

undoMenuItemTitle

The complete title of the Undo menu command, for example, “Undo Paste.”

Declaration

var undoMenuItemTitle: String { get }

Discussion

Returns “Undo” if no action name has been assigned or nil if there is nothing to undo.

See Also

Getting and Localizing the Menu Item Title

var redoMenuItemTitle: String

The complete title of the Redo menu command, for example, “Redo Paste.”

func undoMenuTitle(forUndoActionName: String) -> String

Returns the complete, localized title of the Undo menu command for the action identified by the given name.

func redoMenuTitle(forUndoActionName: String) -> String

Returns the complete, localized title of the Redo menu command for the action identified by the given name.