Re: Temporarily disabling Undo Registration with Core Data
Re: Temporarily disabling Undo Registration with Core Data
- Subject: Re: Temporarily disabling Undo Registration with Core Data
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 25 May 2005 14:22:01 -0700
On May 25, 2005, at 2:05 PM, Justin Hawkwood wrote:
I have a Core-Data Document app that I am trying to have
instantiate an object when opening a new document. I have gotten
this part to work by checking for this objects existence during
awakeFromNib by using executeFetchRequest; If the object does not
exists, then I create one using insertNewObjectForEntityForName.
This works fine with the exception that it dirties the document,
and can be "Undo"ne.
See:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/04_Department/chapter_5_section_2.html>
mmalc
_______________________________________________
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