Re: This document’s file has been changed by another application since you opened or saved it.
Re: This document’s file has been changed by another application since you opened or saved it.
- Subject: Re: This document’s file has been changed by another application since you opened or saved it.
- From: Mike Abdullah <email@hidden>
- Date: Mon, 14 Oct 2013 10:46:18 +0100
On 14 Oct 2013, at 10:37, Rick Mann <email@hidden> wrote:
> In my complex Core Data-based app, I get this behavior:
>
> 1. I launch the app with no prior state. It creates a .sqlite Core Data DB with some default data.
> 2. Quit and re-launch
> 3. App opens that default file.
> 4. I modify the file then save it.
> 5. I get the sheet that says, "This document’s file has been changed by another application since you opened or saved it."
>
> No other app has touched the file. Any ideas?
So you're using the document architecture? Are you modifying the document outside of the -writeToURL:… methods? If so, there's your problem.
_______________________________________________
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