• 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
Autosaving in an NSPersistentDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Autosaving in an NSPersistentDocument


  • Subject: Autosaving in an NSPersistentDocument
  • From: Rick Mann <email@hidden>
  • Date: Sat, 19 Jul 2008 11:22:17 -0700

Can someone please explain this part of the NSPersistentDocument docs?

"Although this tutorial does not aim to cover all the possible features you might implement in an application, some functionality is omitted due to limitations in NSPersistentDocument itself. Because of the way Core Data operates, it is not possible to easily support autosaving in anNSPersistentDocument-based application. Core Data cannot save to a store and maintain the same changed state in a managed object context, all while keeping an unsaved stack around as the current document. For similar reasons, NSPersistentDocument does not support Save To operations."

http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/01_Task/chapter_2_section_4.html#/ /apple_ref/doc/uid/TP40002829-SW5

What do they mean by auto-save?

I seem to be able to save my document (from the app's Save menu item), and the Undo command is still available. I don't understand how I can save manually, but it couldn't save automatically, and I don't get the bit about "all while keeping an unsaved stack around".

TIA,
--
Rick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Autosaving in an NSPersistentDocument
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: NSMutableDictionary autorelease chrashes application
  • Next by Date: Re: NSMutableDictionary autorelease chrashes application
  • Previous by thread: Re: Cocoa & Spaces
  • Next by thread: Re: Autosaving in an NSPersistentDocument
  • Index(es):
    • Date
    • Thread