Instance Method

setActionName:

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

Declaration

- (void)setActionName:(NSString *)actionName;

Parameters

actionName

The name of the action.

Discussion

If actionName is an empty string, the action name currently associated with the menu command is removed. There is no effect if actionName is nil.

See Also

Managing the Action Name

undoActionName

The name identifying the undo action.

redoActionName

The name identifying the redo action.

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