title: Tableview methods are never called
body: <p>I have an iOS app where I added a <code>UITableView</code> to my view in Interface Builder. Then I set up the tableview in the <code>UIViewController</code> like this:</p>
  
  <pre><code>tableView.rowHeight = UITableViewAutomaticDimension
  tableView.estimatedRowHeight = 50
  tableView.delegate = self
  tableView.dataSource = self
  tableView.contentInset = UIEdgeInsets(top: 25, left: 0, bottom: 0, right: 0)
  </code></pre>
  
  <p>And I also implemented the following methods:</p>
  
  <pre><code>func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      print("test table")
      let course = self.courses[indexPath.row]
      let cell = tableView.dequeueReusableCell(withIdentifier: CourseTableViewCell.identifier, for: indexPath) as! CourseTableViewCell
  
      cell.make(course, location: self.currentLocation)
  
      return cell
  }
  
  func numberOfSections(in tableView: UITableView) -&gt; Int {
      return 1
  }
  
  func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return courses.count
  }
  </code></pre>
  
  <p>However, the methods are never called, the table view isn't being displayed and I get no errors in my console? Is there something I missed while trying to add this?</p>
  
  <p>Thanks.</p>
  
  <p>As per request in the comments:</p>
  
  <ul>
  <li>The <code>courses</code> array is not empty</li>
  <li>The <code>courses</code> array is being filled before <code>reloadData()</code></li>
  </ul>