title: How to get label name from Button?
body: <p>I am new in <code>Swift</code> and I am making a simple calculator where I wan't to detect a button which was pressed and my code is below.</p>
  
  <pre><code> @IBAction func ButtonTapped(TheButton : UIButton){
  
      println(TheButton.titleLabel.text)
  }
  </code></pre>
  
  <p>But It Shows me error like <code>"UILabel? Does not have a member a named text"</code></p>
  
  <p>and it tell me to modify code like this </p>
  
  <pre><code>println(TheButton.titleLabel?.text)
  </code></pre>
  
  <p>This Prints <code>Optional("1")</code> (1 is my button name)</p>
  
  <p>So anybody can help me why this is happend to me and how can I print my button name without Optional?</p>