title: Can't cast custom UITableViewCell Class in Swift
body: <p><img src="https://i.stack.imgur.com/7a3qM.jpg" alt="enter image description here">I have a custom class for a UITABLEVIEWCELL. Trying to make a custom table view cell. I was hoping some one could explain what was going on with my code thats resulting in this error?</p>
  
  <p><img src="https://i.stack.imgur.com/BleAx.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/gf2vV.png" alt="enter image description here"></p>
  
  <pre><code>import UIKit
  
  class familyUnit_TblCll_iPhone: UITableViewCell {
  
  
      @IBOutlet var familyName: UILabel!
      @IBOutlet var familyPhoto: UIImage!
  
      @IBOutlet var familyUnitGuardianCount: UILabel!
      @IBOutlet var familyUnitChildCount: UILabel!
  
      @IBOutlet var familyUnitGuardianIcon: UIImage!
      @IBOutlet var familyUnitChildIcon: UIImage!
  
      override init(style: UITableViewCellStyle, reuseIdentifier: String!) {
          super.init(style: style, reuseIdentifier: reuseIdentifier)
  
  
      }
  
      required init(coder aDecoder: NSCoder) {
          fatalError("init(coder:) has not been implemented")
      }
  
  
      override func awakeFromNib() {
          super.awakeFromNib()
  
          // Initialization code
  
          //Set Defaults for Cell Elements.
          self.familyName.text = ""
          self.familyUnitChildCount.text = String(0)
          self.familyUnitChildCount.text = String(0)
      }
  
      override func setSelected(selected: Bool, animated: Bool) {
          super.setSelected(selected, animated: animated)
  
          // Configure the view for the selected state
      }
  
  }
  </code></pre>