Each time my application start I've it see if there's been any alterations in our server database because the before the application began. If there's the server transmits back a json string which i must parse and enter my sqlite database within the application.

I actually do this in the AppDelegate, but my problem is when there's lots of data to update then your AppDelegate pushes the following ViewController prior to the update towards the database is performed. I must not permit the application to maneuver to the first ViewController before the database update is done.

Wouldso would Time passes about carrying this out? Or it is possible to better way additional?


Don't display "nothing" until you look into the database. Rather display a view that shows a note for example: "Checking for updates...". If at all possible show a progress bar too.