title: UIButton setTitle doesn't work
body: <p>I'm trying to change the text of a UIButton when it gets clicked.  I've tried the following things, which failed:</p>
  
  <p>First I tried inserting a button on the storyboard and linking it to the view controller, with the code for the button appearing like this: </p>
  
  <pre><code>@IBAction func button(sender: AnyObject) {}. 
  </code></pre>
  
  <p>Within the button's parentheses, I then used </p>
  
  <pre><code>button.setTitle ("something" , for State: .Selected)
  </code></pre>
  
  <p>However, when I run this code in the simulator, it doesn't seem to work at all. </p>
  
  <p>I have also tried, following the Apple reference manual, to set different labels for different states in the side menu after clicking on said button, but still this didn't work.
  Can anyone tell me exactly (i.e. what code to write and where exactly it goes) how to make this happen?</p>