title: "unable to dequeue a cell with identifier BeerCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard"
body: <p>I have created custom UITableViewCell, in storyboard for my TableViewController I set my cell as a custom class and also give it an identifier. And in controller used dequeueReusableCell method .But when I try to launch my app it crashes throwing this error: &quot;unable to dequeue a cell with identifier BeerCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard&quot;. I have watched many tutorials and everywhere described same steps what I have been done.Have no idea what I'm doing wrong.Thanks in advance
  <a href="https://i.stack.imgur.com/r53k5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r53k5.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/slqYI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/slqYI.png" alt="enter image description here" /></a></p>
  <pre><code>class BeerCell: UITableViewCell {
      @IBOutlet var beerName: UILabel!
      @IBOutlet var beerABV: UILabel!
      @IBOutlet var addToFavoritesButton: UIButton!
      
      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 BeersListTableViewController: UITableViewController{        
      override func viewDidLoad() {
          super.viewDidLoad()
      }
      
      override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          return 10
      }
      
      override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCell(withIdentifier: &quot;BeerCell&quot;, for: indexPath) as! BeerCell
          cell.beerName?.text = &quot;name&quot;
          cell.beerABV?.text = &quot;12.0&quot;
          cell.addToFavoritesButton?.setImage(UIImage(systemName: &quot;star&quot;), for: .normal)
          return cell
      }
  </code></pre>