• 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: Temporarily disabling Undo Registration with Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Temporarily disabling Undo Registration with Core Data (From: Justin Hawkwood <email@hidden>)

  • Prev by Date: Re: Odd WebView Bhaviour
  • Next by Date: Re: Temporarily disabling Undo Registration with Core Data
  • Previous by thread: Temporarily disabling Undo Registration with Core Data
  • Next by thread: Re: Temporarily disabling Undo Registration with Core Data
  • Index(es):
    • Date
    • Thread