I have a view with a `UITextField` and a `UITableView`. While the user is entering text I want the `didSelectRowAtIndexPath` to be called, unfortunately it isn't. It seems that the focus of the textfield prevents the `didSelectRowAtIndexPath` to be called.

The first solution I found would be to create a gesture recognizer and check if the event coordinates are inside the table, and then check in which row. But I would like to make a simpler solution, I'm probably missing something.

Edit: the textfield is not inside the cell, is outside the table, you are suggesting answers as if it is inside the cell.