• 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
Core Data and the Document Dirty indicator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data and the Document Dirty indicator


  • Subject: Core Data and the Document Dirty indicator
  • From: Jonathan Waddilove <email@hidden>
  • Date: Fri, 11 Apr 2008 19:26:16 +0100

I have a Core Data app (Document based) which holds three different entity types. One of the entity types is used to track details of 'Smart Groups'.

I now have most of the basic application working. However I do have one issue I can't track down.

When a Core Data document is opened initialization adds an entity for the basic 'All' smart group. This object is assigned to an in memory store (rather than to the persistent document) - I have checked and the 'All' item doesn't appear in the saved data.

My problem is that adding this item results in the 'dirty' flag being set - with the result that the user is prompted to save the document even though they have not made any changes.

I've checked the CoreReceipes sample and of course it's doesn't suffer from this problem.

Could some kind reader point me in the right direction to fix this unwanted behaviour.


Thanks in advance, Jonathan

_______________________________________________

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


  • Follow-Ups:
    • Re: Core Data and the Document Dirty indicator
      • From: mmalc crawford <email@hidden>
    • Re: Core Data and the Document Dirty indicator
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re:NSArrayController's "selectionIndex" weirdness
  • Next by Date: Re: NSArrayController's "selectionIndex" weirdness
  • Previous by thread: Re: Getting line numbers from an NSString
  • Next by thread: Re: Core Data and the Document Dirty indicator
  • Index(es):
    • Date
    • Thread