Cocoa NSDocument: getting autosave to work

烂漫一生 提交于 2019-12-05 10:30:17

Have you overridden -updateChangeCount: at all? I'm pretty certain that Apple's implementation is the code that starts up the autosave timer. Also, what if you experiment with a longer timer?

Some people find that the directory ~/Library/Autosave Information is owned by root, and so files can not be written therein. See for example http://discussions.apple.com/thread.jspa?threadID=2252306

I don't know how the bug arises but I was bitten by it -- the directory was created 2010-06-17 12:19 and I assume that the permissions were wrong from that moment.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!