mhacks / mhacks-ios

The official MHacks iOS app
https://mhacks.org
22 stars 6 forks source link

Load cached data immediately #12

Closed russellladd closed 8 years ago

russellladd commented 8 years ago

It looks like the backend only loads the cached data if the initial request fails to load. For slow internet connections, this means the app is blank for a long time, even though cached data is present. The backend should be modified to load cached data and notify view controllers immediately on launch. It should then proceed as normal and make request new data from the server, notifying view controllers again if anything actually changed.