• 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: Untitled NSPersistentDocument has no persistent store
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Untitled NSPersistentDocument has no persistent store


  • Subject: Re: Untitled NSPersistentDocument has no persistent store
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 2 Apr 2008 02:26:16 -0700


On Apr 2, 2008, at 01:52, Ian Jackson wrote:

Have you done the tutorial?

http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/NSPersistentDocumentTutorial.pdf

You can add in the data as you like, and save when you've finished.

Yes, but the amount of data involved in the tutorial is tiny. There's no problem leaving it in memory until the document is saved.


What I'm doing is loading hundreds of megabytes (or more) sequentially into the new document. The earlier data needs to be saved persistently so that it can be faulted out to make room for later data.

This issue is complicated by the fact that "save" means somewhat different things in [NSManagedContext save] and [NSDocument save].


_______________________________________________

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: Untitled NSPersistentDocument has no persistent store
      • From: Ian Jackson <email@hidden>
References: 
 >Untitled NSPersistentDocument has no persistent store (From: Quincey Morris <email@hidden>)
 >Re: Untitled NSPersistentDocument has no persistent store (From: Ian Jackson <email@hidden>)

  • Prev by Date: Re: Modifying the clip view before scrolling.
  • Next by Date: Re: Modifying the clip view before scrolling.
  • Previous by thread: Re: Untitled NSPersistentDocument has no persistent store
  • Next by thread: Re: Untitled NSPersistentDocument has no persistent store
  • Index(es):
    • Date
    • Thread