如何在简单的Core Data应用程序中命名撤消和重做操作?

问题描述:

我目前正试图习惯于使用Obj-C和可可在OS X上编程应用程序,并且在核心数据中遇到一个小问题。我的应用程序工作到目前为止,除了我想命名编辑和撤消菜单项(例如撤消新的x或撤消编辑名称等)。

I'm currently trying to get used to programming Apps on OS X with Obj-C and cocoa and stumbled upon a small question in core data. My application works so far, except I would like to name the edit and undo menu items (like "undo new x" or "undo edit name" and so on).

我已经google了,但到目前为止没有解决方案。我已经阅读过一个.strings文件,但我不认为这个文件给了我自由,我想命名我的撤消和重做项目。

I've googled, but so far come up with no solution. I've read about a .strings file, but I don't think, that this file gives me the freedom I want to name my undo and redo items.

我知道如何做没有核心数据。

I know how to do it without core data. But I don't know where and what I should edit to do this with core data.

也许本文可能有所帮助。 (404截至2014-05-15。)

Maybe this article might be of help. (404 as of 2014-05-15.)

Wayback机器URL:

Wayback Machine URL:

  • Undo/Redo In Controls