title: Changing a button's text color when tapped
body: <p>I'm trying to get a button's text to change font color to red when tapped. I looked at similar posts from months ago and use of that code causes a build error in Xcode 6.1.1.  Here is the code I'm trying:</p>
  
  <pre><code>class ViewController: UIViewController {
  
      @IBAction func firstButton(sender: UIButton) { 
          firstButton.titleLabel.textColor = UIColor.redColor()
      }
  }
  </code></pre>
  
  <p>The error code that I get is:</p>
  
  <blockquote>
    <p>'(UIButton) -> ()' does not have a member named 'titleLabel'</p>
  </blockquote>
  
  <p>Any help will be much appreciated as I see Swift as my saving grace after having lost patience in trying to learn Objective C.</p>