Instance Method

undoMenuTitle(forUndoActionName:)

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

Declaration

func undoMenuTitle(forUndoActionName actionName: String) -> String

Parameters

actionName

The name of the undo action.

Return Value

The localized title of the undo menu item.

Discussion

Override this method if you want to customize the localization behavior. This method is invoked by undoMenuItemTitle.

See Also

Getting and Localizing the Menu Item Title

var undoMenuItemTitle: String

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

var redoMenuItemTitle: String

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

func redoMenuTitle(forUndoActionName: String) -> String

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