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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software