title: How to add ToolBar button to Tool Bar in my Navigation Controller
body: <p>I am using XCode
  I have added a Toolbar to my Navigation Controller. And I want to add Bar Buttons to that toolBar.
  In my storyboard, I try control drag 'Bar Button Item' to the tool bar, but that does not work, nothing gets added.</p>
  
  <p>So can 'Bar Button Item' to the tool bar?</p>
  
  <p>Thank you.</p>
  
  <p>Update:</p>
  
  <p>I add my own UINavigationController, bind the toolbar from storyboard to my class as 'mytoolbar'. 
  And did the answer code in swift, 
  But when I run it on simulator, I don't see any tool bar item.</p>
  
  <pre><code>class AppNavigationController: UINavigationController {
  
  
      @IBOutlet weak var mytoolbar: UIToolbar!
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          // Do any additional setup after loading the view.
  
          var rightButton = UIBarButtonItem(title: "Title", style: UIBarButtonItemStyle.Plain, target: self, action: Selector("method"))
          var items = [AnyObject]()
  
          items.append(rightButton)
          mytoolbar.items = items
  
      }
  
      func method() {
          println("Something cool here")
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  
  }
  </code></pre>