iOS: best practice for NSManagedObjectContext merge policy ?

153 views
Skip to first unread message

Florion COIFFÉ

unread,
Jun 1, 2015, 12:57:02 PM6/1/15
to mobile-c...@googlegroups.com

In your opinion, what should we use as a merge policy when setting up NSManagedObjectContext ?

  • NSErrorMergePolicy
  • NSMergeByPropertyStoreTrumpMergePolicy
  • NSMergeByPropertyObjectTrumpMergePolicy

For example, Ensembles (https://github.com/drewmccormack/ensembles) uses the last one. I'm not sure I have all the informations about how Couchbase-lite works to make that decision.

Or maybe this is something useless with Couchbase ?


What do you think ? :)
Thanks!

Reply all
Reply to author
Forward
0 new messages