• 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 document undo problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

core data document undo problem


  • Subject: core data document undo problem
  • From: Ken Victor <email@hidden>
  • Date: Wed, 3 Aug 2005 18:09:44 -0700

i was having problems getting undo working the way i thought it should in my app, so i made a new xcode project using the template for a core data document based application. i created a very simple model that had just one entity that had one string attribute and one integer 32 attribute. i then opened the MyDocument.nib file and option-dragged my entity "box" from xcode to ib, and indicated i wanted many records. next i built and ran the new "codeless" app. i created 2 entities and then closed and saved the document. next i opened the newly created document, selected one of my 2 entities and clicked the remove button and then selected undo. and although the deleted entity properly reappeared, the widow's/document's dirty indicator (in the red stoplight) indicated the documented was dirty! note that starting from a clean document, performing add then undo works properly.

am i misunderstanding something? shouldn't remove/undo leave the document clean? is this a known bug? if so, is there a known workaround?

thanx,
ken


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Random number generator
  • Next by Date: Re: CoreData - re-faulting object and removing self-observers results in messages being sent to zombie
  • Previous by thread: Re: CoreData - re-faulting object and removing self-observers results in messages being sent to zombie
  • Next by thread: Reading property lists for other applications
  • Index(es):
    • Date
    • Thread