ios - Exporting Part of a CoreData database -
i have application has core data database maintaining info. have managedobjectmodel
, persistentstorecoordinator
managing application's data.
i export small subset of separate file/store (via coordinator?) can sent/emailed else same application , opened , merged contents.
obviously, merge part has sticky possibilities, i'm ready that. else have pointers, suggestions, experiences on tricks, traps, or best practices?
don't try @ database level. core data's database merely implementation issue...it change in future, , should not rely on database directly. instead, take objects (objects, not database entries) want share, serialize them transmission format (like json or nscoder), , decode on receiver's end.
Comments
Post a Comment