Re: Untitled NSPersistentDocument has no persistent store
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