I’ve just started using the awesome AFIncrementalStore and have managed to get a basic iOS app running that displays data from a server (JSON format) displayed in a UITableView.
But how can I post data to the same (RESTful) server? Just creating a new NSManagedObject instance and saving properties to it saves data to the local Core Data store, but nothing is posted to the server.
The AFIncrementalStore ReadMe mentions “POST to server” in the “Next Steps” section, but someone maybe has managed to figure out a way?
Heroku now has a tutorial on using AFIncrementalStore and Core Data Buildpack to build a to-do application, including listing and posting new data:
https://devcenter.heroku.com/articles/ios-core-data-buildpack-app