Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Assigning user defined names to PersistentStores

So it seems if we want a PersistentStore to be handled like a file by the user, then it's best to keep the store in binary, and copy it as xml on request to a user-selected URL?

iMac

Posted on Jan 29, 2013 3:15 PM

Reply
1 reply

Jan 29, 2013 3:23 PM in response to mark133

OK, so I think I get it. The whole point of CoreData is to maintain one and only one copy of the core data. So if I want to make files to share from that data that the application produces and uses, then I'll have to make a class, or use some other class, to read the objects out of the store and order them onto some other file. And then I'll also need the application to be able to take that file and read it back into NSManagedObjects, which is easy if the file is in xml format.

Assigning user defined names to PersistentStores

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.