Instance Property

undoActionName

The name identifying the undo action.

Declaration

@property(readonly, copy) NSString *undoActionName;

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

redoActionName

The name identifying the redo action.

- setActionName:

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

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