title: Swift - Multiple UILabel click events to same function
body: <p>I need to add a <code>UITapGestureRecognizer</code> to multiple <code>UILabel</code> and they all need to go to the same function for handling.</p>
  
  <p>What I have is this:</p>
  
  <pre><code>@IBOutlet weak var label_something: UILabel!
  let tap = UITapGestureRecognizer(target: self, action: #selector(self.myFunction))
  label_something.addGestureRecognizer(tap)
  </code></pre>
  
  <p>Recieved here:</p>
  
  <pre><code>@objc func myFunction(sender:UITapGestureRecognizer) { // Something... }
  </code></pre>
  
  <p>Working like a charm. Problem is that its only working with one UILabel (If adding <code>addGestureRecognizer(tap)</code> to multiple <code>UIlabel</code> it only works on the last one added)</p>
  
  <p><strong>So my question is:</strong></p>
  
  <p>How to achieve what I want to do here? Five different UILabels with tapRecognizer going to the same function</p>