I just want to get a few pointers on the best way to architect my first Core Data app, and the main objects and interactions I will require.
The data is stored remotely and I will need to access it via HTTP and it will respond in JSON format. I want to cache this on the device using Core Data. Each day there will be new data on the server, so I need to access this and update the Model accordingly.
Are there any SDK classes I can use to help me with this, or am I going to hand roll it?
I guess I’m looking at a Model Controller that I call to get the data, it will return the core data cached data and maybe make a background call to the web service to get latest data too and then notify the view that there is new data. When I get the data from web service in JSON format – i will need to map this to ManagedObjects an add to my core data context.
Thanks dtuckernet, here is what I did do – gathering info from lots of sources, which I believe is the best solution. Anyone feel free to criticise (constructively)….
If anyone wants any clarification on any of the steps, just let me know.