I am trying to write some functions that only import / export some objects of a specific object from the CoreData database. I have googled and I have found not very useful hints so far ... the only example that helped me is this tutorial: MultiThreding code example from this site
somehow, I could magically export the objects to XML, but the import does not work in this example ... I looked at the source code of PPImportOperation.m and it seems that the copyRecipe :( NSManagedObject *) recipe function has some problems .. then I read the whole source code well and I felt that it would be simpler and easier to get object data from XML, perhaps using NSXmlParser or NSXMLNode (NSXMLNodePreserveCDATA, NSXMLNodeisCDATA) ... or if you tell me something else A simple solution for the import function to work, your help will be appreciated. I am not an experienced coder (I recently started Objective-C), so please answer me in detail with a sample code, thanks.
source
share