title: How to fill-in 2 different cells?
body: <p>Does anybody know how to fill-in 2 different cells?<a href="https://i.stack.imgur.com/kiiH3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kiiH3.png" alt="enter image description here"></a></p>
  
  <p>For every cell I have specific class</p>
  
  <pre><code>import UIKit
  
  class MindCell: UITableViewCell {
  
      @IBOutlet var textLabel1: UILabel!
  
      override func awakeFromNib() {
          super.awakeFromNib()
          // Initialization code
      }
  
      override func setSelected(_ selected: Bool, animated: Bool) {
          super.setSelected(selected, animated: animated)
  
          // Configure the view for the selected state
      }
  
  }
  
  class StepsMind: UITableViewCell {
  
      @IBOutlet var number1Label: UILabel!
      @IBOutlet var step1Label: UILabel!
  
      override func awakeFromNib() {
          super.awakeFromNib()
          // Initialization code
      }
  
      override func setSelected(_ selected: Bool, animated: Bool) {
          super.setSelected(selected, animated: animated)
  
          // Configure the view for the selected state
      }
  
  }
  </code></pre>
  
  <p>But I don't know how to set up functions</p>
  
  <pre><code>override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
  
          let cellIdentifier = "Cell"
          let cell = tableView.dequeueReusableCell(withIdentifier: cellIdentifier, for: indexPath) as! MindCell
  
          // Configure the cell...
          cell.textLabel1.text = "ABC"
  
          return cell
  }
  override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
          let cellIdentifier1 = "MindCell"
          let cell1 = tableView.dequeueReusableCell(withIdentifier: cellIdentifier1, for: indexPath) as! StepsMind
  
          // Configure the cell...
          cell1.number1Label.text = "1"
          cell1.step1Label.text = "DEF"
  
          return cell1
          }
  </code></pre>
  
  <p>Xcode says that it's impossible to use 2 these functions at the same time. What I need to do?</p>