title: Does Not Conform To Protocol 'UITableViewDataSource' Error?
body: <p>I am trying to set up my table view, I am using </p>
  
  <pre><code>class ExerciseDatabaseController: UIViewController, UITableViewDataSource, UITableViewDelegate {
  </code></pre>
  
  <p>I am then using the mandatory functions:</p>
  
  <pre><code>func ExerciseDatabaseController(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath as IndexPath)
      return cell
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>func ExerciseDatabaseController(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return 0
  }
  </code></pre>
  
  <p>as per the apple guidelines: <a href="https://developer.apple.com/reference/uikit/uitableviewdatasource" rel="nofollow noreferrer">https://developer.apple.com/reference/uikit/uitableviewdatasource</a></p>
  
  <p>I cant work out why I am still having non conforming protocol errors for this class? </p>
  
  <blockquote>
    <p>Type 'ExerciseDatabaseController' does not conform to protocol 'UITableViewDataSource'</p>
  </blockquote>