facebook/three20 — Issue #773: Provide a hook in TTStyledTextView for capturing taps outside of links.
Author: cgriffin
Created: 2012-02-03 21:42:26+00:00
State: open

I would like a way to be notified when the user taps a point not associated with a link. If the user taps a link then do the default action, otherwise "notify" something.
I implemented this in the source for my own use. I implemented it as a stub method and then subclassed TTStyleTextView and implemented the method. It could just as well be a delegate on TTStyledTextView. If you use the delegate pattern it would be good to pass the TTStyledTextView object as the first parameter. Like UITableView does.

Issue 135 seems related to this one.