to sum up my problem: I have a bigger table with lots of posts from different people. And I am going through my list of tablecells with the datasource of the tableview like in the following example. And I want to give each textlabel of the cell a click listener. So I came up with this here in my cellForRowAt at my tables datasource:
    let tap = UITapGestureRecognizer(target: self, action: #selector(clickedOnLabel(sender:, content: local[indexPath.row][2],rank: rank)))
    cell.textLabel?.isUserInteractionEnabled = true
    cell.addGestureRecognizer(tap)
So I wanna add this click funktion right here, which needs the arguments content and rank with it:
@objc func clickedOnLabel(sender: UITapGestureRecognizer, content: String, rank: Int){
    //Do some stuff here
}
But I am not allowed to pass content and rank with the selector, when I put content and rank out, everything works fine... So is it just syntax?
 
     
     
    