Reputation: 7118
I am attempting to use AFIncrementalStore to share data managed by core data across multiple devices. For a simple example, I'm using this sample ToDo app https://github.com/heroku/devcenter-ios-core-data-buildpack-app and a server set up with the core data build pack.
When managed objects are created or modified they are properly added to the server database; however, when the same object is modified on a second device, the object is duplicated instead of updated. The same problem occurs if the app is deleted and reinstalled and then the previously created objects are modified.
How can this issue be corrected so the same set of managed objects can be manipulated by more than one device?
Upvotes: 1
Views: 53