Re: This document's file has been changed by another application?
Re: This document's file has been changed by another application?
- Subject: Re: This document's file has been changed by another application?
- From: Chris Idou <email@hidden>
- Date: Wed, 20 Aug 2008 02:31:45 -0700 (PDT)
> Are you actually saving the contents of the document to a
> file inside the package?
There is a complex arrangement of files inside the directory, some of which will get updated when saving.
> Try to get the document's fileURL and check if it is
> the same for the
> first and subsequent save operations, that might give a
> hint.
> The problem might also occur if you arbitrarily tweak the
> fileUrl.
I'm not touching the fileUrl. I'm printing it out, and it remains the same as expected.
>
> -Chaitanya
>
> On 19-Aug-08, at 9:36 PM, Chris Idou wrote:
>
> > I've got a document based app where the document
> is actually a
> > directory. Every time I save except the first time I
> get the above
> > error whether or not things have changed, and even if
> the directory
> > timestamp is unchanged.
> >
> > Under what circumstances does the above message occur
> and how do I
> > avoid it?
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > Cocoa-dev mailing list (email@hidden)
> >
> > 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:
> >
> >
> > This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden