Quantcast
Channel: Best practice to export core data entities - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Best practice to export core data entities

$
0
0

I need to export a few entities with its relationships in order to import it in other iOS device. For example:

A.relationship1 <------>> B.relationship1 (one to many)B.relationship2 <-------> C.relationship1 (one to one)

Is there a way to serialize/deserialize (or other methods) to export/import "easily" a fragment of the core data model (objects and its relationships fetched by a fetched results controller? By serializing all the data pack (NSData or something), deserializing and inserting it to the context (importing).

Please point me in the right direction.Thanks in advance.


Viewing all articles
Browse latest Browse all 2

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>