How to get the index of a tapped object in a TableView?
I got a tableView with custom cells. Inside each of these cells, there's a UILabel, which get it's text from an NSMutableArray. I set up a GestureRecognizer to see if this label is tapped or not. And if it's tapped, I go to another view. 

Now in the method associated to the selector for the labels, I would like to get the index of the text in the NSMutableArray, corresponding to the tapped label. How could I do that?
How to get the index of a tapped object in a TableView?
===

I got a tableView with custom cells. Inside each of these cells, there's a UILabel, which get it's text from an NSMutableArray. I set up a GestureRecognizer to see if this label is tapped or not. And if it's tapped, I go to another view. 

Now in the method associated to the selector for the labels, I would like to get the index of the text in the NSMutableArray, corresponding to the tapped label. How could I do that?