title: " Could not cast value of type 'UITableViewCell'...to 'UILabel' "
body: <p>This is the error i'm getting. I'm sure this is a simple fix, but i'm having a bit of trouble with it. I updated this thread to add the code.</p>
  
  <pre><code>override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      // #warning Incomplete implementation, return the number of rows
      return 5
  }
  
  
  override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
  
      let cell = tableView.dequeueReusableCell(withIdentifier: "CheckListItem", for: indexPath)
  
      let label = cell.viewWithTag(1000) as! UILabel
  
      switch indexPath.row {
      case 0:
          label.text = "Walk the dog"
      case 1:
          label.text = "Brush my teeth"
      case 2:
          label.text = "Learn iOS development"
      case 3:
          label.text = "Soccer practice"
      case 4:
          label.text = "Eat ice cream"
      default:
          label.text = "Nothing"
      }
      return cell
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/10xZi.png" rel="nofollow"><img src="https://i.stack.imgur.com/10xZi.png" alt="Screenshot"></a></p>