I am working on a project where the app parses data from an XML file, saves it to a persistent store and populates a table view. Every time the app opens, if there is internet connection available, the persistent store gets recycled and the XML is parsed again as it gets updated quite frequently. If no internet connection is available I'll just load the data from the latest parsing saved in my persistent store.
Once parsing is completed, users will then be able to browse through the objects and possibly mark them as favourites.
When this is done, I would like to be able to display these "marked as favourite" objects in a separate tab bar and keep them for as long as the user has them marked as favourites.
This could be done easily if the data from my persistent store wasn't being recycled so frequently but since that's not the case, I'd like to find the best way to:
- Create an additional persistent store;
- Be able to copy objects from one store to another
Or
Can you suggest a better way of implementing this?
Many thanks,
Rogerio