mattt/TTTAttributedLabel — pull request #159 by runmad (2013-01-19 16:31:36+00:00)
Title: Set activeLink to nil on setText:

This solves a bug I was experiencing. I am using a UISwipeGestureRecognizer to do some animations and switch the text in the TTTAttributedLabel during these animations. This was working fine except for when the swipe gesture would occur on top of a link (making it active while swiping).

The label would actually get the correct text and size itself correctly based on the new text, but the drawn text wouldn't actually update and remain identical to the previous text. This simple fix ensures that the link is no longer active when setting the text on an already initialized label.