title: creating custom tableview cells in swift
body: <p>I have a custom cell class with a couple of IBOutlets. I have added the class to the storyboard. I have connected all my outlets. my cellForRowAtIndexPath function looks like this:</p>
  
  <pre><code>override func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -&gt; UITableViewCell! {
          let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as SwipeableCell
  
          cell.mainTextLabel.text = self.venueService.mainCategoriesArray()[indexPath.row]
  
          return cell
      }
  </code></pre>
  
  <p>Here is my custom cell class:</p>
  
  <pre><code>class SwipeableCell: UITableViewCell {
      @IBOutlet var option1: UIButton
      @IBOutlet var option2: UIButton
      @IBOutlet var topLayerView : UIView
      @IBOutlet var mainTextLabel : UILabel
      @IBOutlet var categoryIcon : UIImageView
  
      init(style: UITableViewCellStyle, reuseIdentifier: String!) {
          super.init(style: style, reuseIdentifier: reuseIdentifier)
  
  
      }
  }
  </code></pre>
  
  <p>When I run the app, all my cell are empty. I have logged out <code>self.venueService.mainCategoriesArray()</code> and it contains all the correct strings. I have also tried putting an actual string equal to the label, and that produces the same result. </p>
  
  <p>What am I missing? Any help is appreciated.</p>