title: Swift: change Bar Button Item in code
body: <p>I am using swift. I have a Bar Button Item that I would like to change the Identifier from Play to Stop in code. Is this possible and how do you do It?</p>
  
  <pre><code>@IBOutlet var StartStopButton: UIBarButtonItem!
  
  
  @IBAction func StartAlarm(sender: AnyObject) {
  
      onOffIndicator.hidden = false
      StartStopButton.Identifier = ?????
  
  }
  </code></pre>