saveDocument and wrapper of wrappers
saveDocument and wrapper of wrappers
- Subject: saveDocument and wrapper of wrappers
- From: Renaud Boisjoly <email@hidden>
- Date: Mon, 20 Jan 2003 09:33:46 -0500
Hi all!
I'm using a folder of fileWrappers as my document format and I've
subclassed NSDocument, NSWindowController and NSDocumentController and
all that.
Everything works fine, except that when a user saves an existing
document after making some changes, it seems that the original document
is actually replaced by a new one. For example, if the document is on
the Desktop or if it has a custom icon, when saving, it may move around
on the Desktop and its icon will be reset to blank.
I though this might have been because it was saving a backup version,
but even if I disable that, the problem persists.
I'm guesing its due to the fact I'm using a directorywrapper of
wrappers for some reson and that it has to re-create all of it every
time, instead of keeping the old one. Do you think this could be the
case?
Thanks
Renaud
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.