I have a database in my application, how can I get live updates? I mean how not to download the whole new database but just get the new records when pressing the update bu? any ideas? I’ve seen things like that in the news apps. WHat is the basic architecture?
Share
This is quite the loaded question. Unfortunately it is much more complex than just what database to use. For local storage options you have SQLite and CoreData. Those are basically your 2 options for large amounts of data. Keeping those data sources in sync is something you will have to work out on your own. Who is providing the data? What format is it in? What are you going to do with your data locally to determine its update level? How will you check to make sure your data is up-to-date before trying to send information?
This is a very large problem that will definitely need to be looked at before you attempt to build your app and data structures. I’m sorry there isn’t a simple answer for your question. StackOverflow is great place to get specific answers to specific questions, but you are asking a very vague question to a very complex issue. Hopefully some of these questions I’m asking you back will help lead you in the right direction. Good luck.