I need to create a new core data document apart from the Core-data based 
document framework. (*)

I can't pass nil to NSPersistentStoreCoordinator.addPersistentStoreWithType 
because that is an error.

So how do I create an in-memory document until such time as it is saved and the 
user is prompted for the file location?

I thought maybe I could create an in-memory core data document and then migrate 
it to a URL later, but using the debugger, it appears that the normal core-data 
based document framework does not do that. (Although it does call migrate for a 
Save-As situation).

This makes me think this is not the way to do it. So how do I create a core 
data respository when I don't yet know the URL?

It's at times like this I curse Apple for not making their source code visible.


(*) Because my document format is a directory, and the core data component is 
only part of it.


      
_______________________________________________

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