title: UITapGestureRecognizer with target - Swift
body: <p>I tried to make a simple tap gesture and I can't figure it out. I want to add a target, simple selector to the gesture.</p>
  
  <p>Here is my code :</p>
  
  <pre><code>var panGesture : UIGestureRecognizer = UITapGestureRecognizer.addTarget(&lt;#UIGestureRecognizer#&gt;)
  </code></pre>
  
  <p>How can I set selector?</p>