I just want to get some pointers on the best way to architect my first Core Data application, as well as the main objects and interactions that I need.
The data is stored remotely, and I will need to access it through HTTP, and it will respond in JSON format. I want to cache this on a device using Core Data. Every day, new data will appear on the server, so I need to access it and update the model accordingly.
Are there any SDK classes that I can use to help me with this, or am I going to drop it?
I guess I look at the model controller that I call to get the data, it will return the cached data of the main data and maybe make a background call to the web service to get the latest data, and then notify the opinion that there are new data. When I receive data from a web service in JSON format - I need to map this to ManagedObjects, adding data to my main context.
bandejapaisa
source share