title: How to delay viewDidLoad() until response from server?
body: <p>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. </p>
  
  <p>I am using PubNub. There is a listener set up in the appdelegate that triggers when data is received. </p>