core data document undo problem
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