title: Setting a UITableView data source and delegate in separate file - swift
body: <p>If I would like to have the same basic UITableView appearing in two different scenes, is it a good idea to use one datasource and delegate location for both tables?</p>
  
  <p>I wanted to try this, but when I select the table view in IB and try to drag the line to a custom class of UITableView file, or even to another custom view controller, it will not connect. It only seems possible to make the current View Controller into the table's datasource and delegate(?).</p>
  
  <p>I'm wondering if this is at least similar to <a href="https://stackoverflow.com/questions/254354/uitableview-issue-when-using-separate-delegate-datasource?rq=1">this question</a>, but even if it is, how is this done in swift (and perhaps there is a new way to do this).</p>