title: Swift Custom UIViewController's label is nil
body: <p>I customized a viewcontroller with xib, and this viewcontroller has a label.</p>
  
  <p>I have already connected the label with xib.</p>
  
  <p>But when I use this label, it is nil.</p>
  
  <p>What's wrong I did?</p>
  
  <p>below is my code.</p>
  
  <pre><code>import UIKit
  
  class MyViewController: UIViewController {
  
      @IBOutlet weak var label: UILabel!
  
      override func viewDidLoad() {
          super.viewDidLoad()
      }
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
      }
  }
  </code></pre>
  
  <p>code to use this viewcontroller</p>
  
  <pre><code>    let myViewController = MyViewController(nibName: "MyViewController", bundle: nil)
      myViewController.label.text = "test"
      presentViewController(myViewController, animated: true) { () -&gt; Void in
          println("ok")
      }
  </code></pre>
  
  <p>Thank you.</p>