rskokan / MMNotes

3 stars 0 forks source link

Core Data & iCloud merge policy #12

Closed rskokan closed 12 years ago

rskokan commented 12 years ago

Don't forget to set an appropriate merge policy. The default is NSErrorMergePolicy - that I probably don’t want. The recommended one is NSMergeByPropertyObjectTrumpMergePolicy

rskokan commented 12 years ago

Done, in store: [ctx setMergePolicy:NSMergeByPropertyObjectTrumpMergePolicy];