On 2010 Apr 01, at 13:50, Martin Wierschin wrote:

> I should say that I've overridden my NSDocument's save methods

Indeed, you're playing with a highly crafted system there.  After adding a 
"Save As Move" command to an application, I was getting a different but related 
warning, something like "Document has been moved, do you really want to save it 
to a new location?"  The solution was to sprinkle in an extra invocation of 
saveToURL:ofType:forSaveOperation:error: immediately after setFileURL:.

> Any help on this would be much appreciated.

If you've not done so already, pull up the "Document-Based Applications 
Overview" and read "Message Flow in the Document Architecture".  It might help. 
 You could maybe set some breakpoints.

If you figure it out, please post the answer for the list archives.  I may need 
it someday :)

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to