I would like to update my model object before my main view controller loads. Currently, the code for updating the views are running before my model receives the data from the server, so the main view displays the wrong data.
I am using PubNub. There is a listener set up in the appdelegate that triggers when data is received.