title: IBOutlet is nil, but it is connected in storyboard, Swift
body: <p>Using Swift 1.1 and Xcode 6.2.</p>
  
  <p>I have a UIStoryboard containing a singular, custom <code>UIViewController</code> subclass. On it, I have an <code>@IBOutlet</code> connection of type <code>UIView</code> from that controller to a <code>UIView</code> <em>subclass</em> on the storyboard. I also have similar outlets for subviews of that view. See figure A.</p>
  
  <p>But at run time, these properties are nil (Figure B). Even though I have assured I've connected the outlets in Interface Builder.</p>
  
  <p><strong>Thoughts</strong>:</p>
  
  <ul>
  <li>Is it possible that because I am using a subclass of a subclass something messes up with the initialization? I am not overriding any initializers</li>
  <li><code>awakeFromNib:</code> is not getting called for some reason</li>
  <li>Maybe it doesn't connecting to subviews on subviews</li>
  </ul>
  
  <p><strong>Things I have tried:</strong></p>
  
  <ul>
  <li>Matching <code>@IBOutlet</code> and storyboard item types exactly (instead of <code>UIView</code>)</li>
  <li>Deleting property and outlet and re-added them</li>
  </ul>
  
  <p><img src="https://i.stack.imgur.com/U8Kpu.png" alt="Figure A"></p>
  
  <p>Figure A*</p>
  
  <p><img src="https://i.stack.imgur.com/8CuUa.png" alt="Figure B"></p>
  
  <p>Figure B</p>
  
  <p>*The obscured code in <code>Figure A</code> is:</p>
  
  <pre><code>@IBOutlet private var annotationOptionsView: UIView!
  @IBOutlet private var arrivingLeavingSwitch: UISegmentedControl!
  </code></pre>
  
  <p>Thank you.</p>