Contents

undoMenuTitle(forUndoActionName:)

Returns the localized title of the Undo menu command for the identified action.

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