setActionName: the method description says that it sets the action name for the undo or redo command. But, I doubt how the underservice uses the action name set in the manner described above.
Regards, ISight
The setActionName method: only changes the label in the Undo and Redo menu items. So if you use
[undoMgr setActionName:@"Cut"]
the menu item "Cancel" will change to "Cancel Cut".
Source: https://habr.com/ru/post/1769147/More articles:Can't access the RowSpan property at runtime? - c #How to wrap rows in columns? - sql-server-2005How can I load a second degree entity relationship with a WCF data service? - wcf-data-services.ready () is launched after window.beforeunload - javascriptFind the number in the array that happened most times - c ++How to avoid duplication of models in a django project? - djangoHow to enable VSYNC in a D3D windowed application? - directxHow do I know which link was clicked? - javascriptNo "add esp, 4" for virtual functions returning std :: string - stdstringHelp "Install" module for Python using WGET - pythonAll Articles