title: Static cells - Outlets are always nil
body: <p>It's the first time I use static cells in a table view and I just can't get them to show.</p>
  
  <p>I have two sections (grouped) with two and three cells in each one respectively. The cells are static (custom) and all carry one label and one textfield:</p>
  
  <p><a href="https://i.stack.imgur.com/QGtuW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QGtuW.png" alt="enter image description here"></a></p>
  
  <p>I have created <code>IBOutlets</code> for each textfield, and for each cell in my view controller:</p>
  
  <p><a href="https://i.stack.imgur.com/kkPfW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kkPfW.png" alt="enter image description here"></a></p>
  
  <p>I have made the link between storyboard -> view controller where the outlets reside:</p>
  
  <p><a href="https://i.stack.imgur.com/ax0rX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ax0rX.png" alt="enter image description here"></a></p>
  
  <p>I have also set datasource &amp; delegate on <code>UITableView</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/zNc6S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zNc6S.png" alt="enter image description here"></a></p>
  
  <p>Since these are static cells, I am not using dynamic cell-related methods, e.g.<code>tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath)</code>. Instead, I try to reference each textfield and cell via their outlets. My problem is that I keep getting a nil value returned for all the outlets. I tried referencing them in <code>viewDidLoad</code>, <code>viewWillAppear</code> and <code>viewDidAppear</code> but the result is always nil:</p>
  
  <p><a href="https://i.stack.imgur.com/2tyxK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2tyxK.png" alt="enter image description here"></a></p>
  
  <p>I programmatically instantiate the UIViewController via the use of a cocoa menu control:</p>
  
  <p><a href="https://i.stack.imgur.com/E3Zd3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E3Zd3.png" alt="enter image description here"></a></p>
  
  <p>What on earth am I missing? Any clues?</p>
  
  <ul>
  <li>Note: I am Swift 2.1, Xcode 7.2</li>
  </ul>