title: UITableView delegate using extensions swift
body: <p>This is a fairly simple question I think. I've separated my <strong>UITableView</strong> delegate / data sources into their own extensions </p>
  
  <pre><code>//MARK: - UITableView Data Source/Delegate
  
  extension TweetsViewController: UITableViewDataSource {
      func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          return 0
      }
  
      func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCellWithIdentifier("Cell") as! TweetCell
          return cell
      }
  }
  </code></pre>
  
  <p>However in the view controller itself I need to set the tblView delegate</p>
  
  <pre><code>class TweetsViewController : UIViewController {
  
      @IBOutlet weak var tblView: UITableView!
  
  
      var fetchedResultsController : NSFetchedResultsController!
  
      //MARK: View Management
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          tblView.dataSource = self
  
  
      }
  }
  </code></pre>
  
  <p>However, since the view controller is nor conforming to the protocols but having the extensions handle them, then how do I explicitly set the datasource and delegate for the tableView? Thanks!</p>