Re: Untitled NSPersistentDocument has no persistent store
Re: Untitled NSPersistentDocument has no persistent store
- Subject: Re: Untitled NSPersistentDocument has no persistent store
- From: Ian Jackson <email@hidden>
- Date: Wed, 2 Apr 2008 23:01:35 +1300
Ah OK, I see. But I can't help.
However the business of saving before you start happens with
Garageband and iMovie. So on the plus side, it's not unheard of. On
the downside, I agree it's a bit odd.
Ian.
On 2/04/2008, at 10:26 PM, Quincey Morris wrote:
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
_______________________________________________
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