title: viewDidLoad being called before didSelectRowAtIndexPath
body: <p>I have
  <code>viewDidLoad</code> (of next tableView) being called before <code>didSelectRowAtIndexPath</code> (of current <code>tableView</code>). </p>
  
  <p>I am using a 'singleton' to hold my model and up to now this has been working quite well. I am trying to pass on the row selected in the current table in <code>didSelectRowAtIndexPath</code> to the destination <code>tableview</code> (they are linked by a  segue in storyboard) by setting by the variable in <code>didSelectRowAtIndexPath</code>. </p>
  
  <p>However the <code>viewDidLoad</code> of the destination <code>tableview</code> is called before I can set the row number. <code>didSelectRowAtIndexPath</code> is called later but by then I have set up my data (wrongly) for the destination table.</p>