title: Blank Table View Cell
body: <p>I am trying to post a picture in a table view cell, but it keeps coming back blank.  I have 3 files that I've created for this.</p>
  
  <p>First is a data file with the picture information:</p>
  
  <pre><code>import Foundation
  
  class Data {
      class Entry {
          let filename : String
          let heading : String
          init(fname : String, heading : String) {
              self.heading = heading
              self.filename = fname
          }
      }
  
      let pic = [
          Entry(fname: "Picture1.jpg", heading: "Heading 1"),
  
      ]
  
  }
  </code></pre>
  
  <p>Then I have my table view controller</p>
  
  <pre><code>import UIKit
  
  class TableViewController: UITableViewController {
  
          let data = Data()
          override func viewDidLoad() {
              super.viewDidLoad()
              self.tableView.separatorStyle = UITableViewCellSeparatorStyle.None
          }
  
          override func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
              return 1
          }
  
          override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
              return data.pic.count
          }
  
          override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
              let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as TableViewCell
              let entry = data.pic[indexPath.row]
              let image = UIImage(named: entry.filename)
              cell.pic.image = image
  
              return cell
          }
  
  }
  </code></pre>
  
  <p>The third is the cell itself</p>
  
  <pre><code>import UIKit
  
  class TableViewCell: UITableViewCell {
  
  @IBOutlet var selfie: UIImageView!
  
  
      override func awakeFromNib() {
          super.awakeFromNib()
  
      }
  
      override func setSelected(selected: Bool, animated: Bool) {
          super.setSelected(selected, animated: animated)
      }
  
  }
  </code></pre>
  
  <p>I have no clue why the cell is coming back blank.  I have the image file stored in Supporting Files.</p>
  
  <p>Can anyone help me?</p>