I want to accept single and double taps in my table view cells. I also have tappable labels with hashtags in each of my cells, which I would like to remain clickable. That is a interaction that is seperate and different than what should happen when a user clicks somewhere other than a hashtag.
I noticed that depending on how I word or Google my question I get 2 different answers.
Solution A: UITapGestureRecognizer - single tap and double tap Its accepted answer suggests 2 tap gesture recognizers with delays, and has a high number of upvotes.
Solution B.
The other solution I have seen on several threads is implementing a tap counter in tableView:didSelectRowAtIndexPath:
combined with a short timer. There are a lot of these threads with this as the accepted answer, but none of them have anywhere near as many upvotes as the answer from solution A.
Is there any argument for why one is better than the other?
The problem here with both solutions is that gestures suck up my attributed labels' taps, and the ...didSelectRow...
solution prevents users from tapping multiple cells rapid fire without issues; it is sloppy and leaves room for error.