title: Swift iOS TableView cell items disappears when scrolling
body: <p>When I scroll through my tableview I see that some badges in my list disappears.</p>
  
  <p>My cell is set to have a custom class of <code>CustomTableViewCell</code></p>
  
  <p><strong>CustomTableViewCell</strong>:</p>
  
  <pre><code>import UIKit
  
  class CustomTableViewCell: UITableViewCell {
  
  
      @IBOutlet weak var badgeIcon: AsyncImageView!
      @IBOutlet weak var title: UILabel!
  
      func configureCell(data: JSON) {
  
          if let itemType = data["item_type"].int, itemTitle = data["item_type"].string {
  
            title.text = itemTitle
  
            if itemType == 1 {
               badgeIcon.hidden = true
            } else {
               badgeIcon.hidden = false
            }
          }
  </code></pre>
  
  <p><strong>tableview</strong></p>
  
  <pre><code>func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
  
          let cell = tableView.dequeueReusableCellWithIdentifier("myCustomCell") as! CustomTableViewCell
  
          let data = items[indexPath.row]
          cell.configureCell(data)
  
          //Dont show highlight
          cell.selectionStyle = UITableViewCellSelectionStyle.None
  
          return cell
  
      }
  </code></pre>
  
  <p>When my tableView first loads everything is displayed right with <strong>badgeIcon</strong> being shown/hidden where it should be, but if I scroll up/down a few times the <strong>badgeIcon</strong> will always remain hidden</p>