Hello! I have a function to retrieve data from CoreData, I need this function to be performed when the app starts. I read in Apple Docs that it is not a good practice to do so, as it can slow down application launch.
What is the best practice to do so? I really need it to be executed when the app launch (every time, not just in the first launch or so).