I'm building an app that begins by loading a 'downloading' view controller which fetches an array of data through an API call. Once the data is returned, the app then hides this view controller's view, and loads a tab bar controller, which houses two navigation controllers.
The first view pushed onto the first navigation controller is a table view. It is in this table view that I need to display the data retrieved from the API call in the initial 'downloading' view controller.
Can somebody please explain to me how I would pass this data between the 'downloading' and table view controllers? Considering they do not know about each other.
An important note is that the data must be fetched before loading the tab bar controller, so it is not possible to simply fetch the data from within the table view controller that will be using it.