OHAttributedLabel
OHAttributedLabel copied to clipboard
Added long press event & fixed memory leak
Nice addition but two questions:
- Why the
enabled=NOthenenabled=YEShere? - Couldn't we mutualize some code about detection of the link under the tapped point between the tapGR and the longPressGR ?
A bit busy so won't have time to review it all until at least next WE anyway, please be patient ;)
The enabled part is unnecessary. It is used to cancel a gesture recognizer but in this case it doesn't need to be cancelled.
About mutualizing code: Some mutualization would be possible but we are really just talking about a few lines of code so I think the code is fine like this.