• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: This document’s file has been changed by another application since you opened or saved it.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: RE: collection of applications
  • Next by Date: Re: collection of applications
  • Previous by thread: Re: NSInputStream vs GCD's Dispatch Sources
  • Next by thread: Re: This document’s file has been changed by another application since you opened or saved it.
  • Index(es):
    • Date
    • Thread