title: Swift: UIButton textLabel.text value not useable in switch statement
body: <p>I am new to Swift and iOS development, so I am trying to build a calculator app for learning purposes. However, I am encountering an error. I have titled all of my buttons with the number they represent, so I am retrieving the title in the buttonPress IBAction via sender.titleLabel.text. Then, I pass that into a switch statement to determine if the button was a number or an operator.</p>
  
  <pre><code>func handleButton (sender:UIButton) {
  switch sender.titleLabel.text {
  case "1","2","3","4","5","6","7","8","9","0" :
      println(sender.titleLabel.text)
  default:
      break
      }     
  }
  </code></pre>
  
  <p>The error is that sender.titleLabel.text will not bind to the string values I have entered - nor any string values - even though it is  is of type String.</p>