title: How do you assign an IBOutlet programmatically using Swift?
body: <p>I added a bar button item programmatically to a view controller:</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
      self.navigationItem.leftBarButtonItem = UIBarButtonItem(title: "Menu", style: .Plain, target: nil, action: nil)
  }
  </code></pre>
  
  <p>Now I want to assign that bar button item to an <code>IBOutlet</code> programmatically. How would I do that using Swift?</p>