title: I am trying to create multiple custom cells, with different classes
body: <pre><code>extension DashboardView: UITableViewDataSource, UITableViewDelegate {
      func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          return recents.count
  
      }
  
  
  func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return contents.count
  }
  
  
  func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
  
      let recent = recents[indexPath.row]
      let cell = tableView.dequeueReusableCell(withIdentifier: "RecentCell") as! RecentCell
  
      cell .setRecent(recent: recent)
  
  
      cell.delegate = self
  
      return cell
  }
  
  func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
  
          let content = contents[indexPath.row]
          let cell = tableView.dequeueReusableCell(withIdentifier: "ContentCell") as! ContentCell
  
          cell .setContent(content: content)
  
  
          cell.delegate = self
  
          return cell
      }
  }
  </code></pre>
  
  <p>I have tried creating other extensions but does not work</p>