title: UIButton in Swift is not registering touches
body: <p>I'm trying to create a UIButton using Swift. It compiles fine and I can see my button in the simulator, but when I click it, nothing happens. This is the code I am using:</p>
  
  <pre><code>let settings = UIButton()
  settings.addTarget(self, action: "touchedSet:", forControlEvents: UIControlEvents.TouchUpInside)
  settings.setTitle("Settings", forState: .Normal)
  settings.frame = CGRectMake(0, 530, 150, 50)
  scrollView.addSubview(settings)
  </code></pre>
  
  <p>In the same class, here is the function 'touchedSet':</p>
  
  <pre><code>func touchedSet(sender: UIButton!) {
      println("You tapped the button")
  }
  </code></pre>
  
  <p>I'm using the simulator as I don't have an iOS 8.0 device, could that be the problem?</p>
  
  <p>Thanks!</p>