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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to