• 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: customizing save behavior in doc based apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: customizing save behavior in doc based apps


  • Subject: Re: customizing save behavior in doc based apps
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 26 Dec 2005 00:19:08 -0800


On Dec 25, 2005, at 9:47 PM, Matthew Russell wrote:

I've done a lot of reading and experimenting on this but just can't get it right. The closest I can seem to come is by doing the following things in my NSPersistentDocument subclass:

You seem to be making this very complicated, an in particular you're subverting the normal behaviour which is to show the dirty marker if there are unsaved changes in the document's managed object context. Try starting by just: for existing documents saving the context after every edit (see the NSPersistentDocument tutorial for discriminating between a new and existing document)...

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
  • Follow-Ups:
    • Re: customizing save behavior in doc based apps
      • From: email@hidden
References: 
 >customizing save behavior in doc based apps (From: Matthew Russell <email@hidden>)

  • Prev by Date: Re: Generating Scrolling Text
  • Next by Date: Re: What circumstances does a bundle fail to load?
  • Previous by thread: customizing save behavior in doc based apps
  • Next by thread: Re: customizing save behavior in doc based apps
  • Index(es):
    • Date
    • Thread