I'm new in Swift and whole iOS development. I'm trying to make a weather app but I have a problem. How can I prevent showing default data before loading data from API?
Here is the video https://vimeo.com/296160291 where you can see that when application opens it has "DEFAULT" data and after 1s or so it switches to data from API.
If I check Apple's Weather app I can see it's loading data that was before closing the app. Are they using cache?
I'm sorry if this is a dumb question