how do I detect and make clickable links in a UILabel NOT using UITextView : <p>I am building a chat app and for performance reasons I need to use UILabel's instead of UITextView's to display the chat messages.  I have previously used TextView's but with data detection on the scrolling is very slow and choppy.</p>

<p>The problem is there is currently no link/phone/address etc...  detection for UILabels.  </p>

<p>How can I know where a link or phone number exists in a string, and then highlight and make it clickable within a UILabel?</p>

<p>I have read many articles on how to add attributes for links to do just that but they have all been links which you know the range or substring of.</p>

<p>I would like to take any string and find out whether is contains links and where those links are and then add the tapGestureRecognizer to the label and perform actions based on where the tap occurred. </p>

<p>I have tried to incorporate an external library (TTTAttributedLabel) but I'm using swift and found the documentation for swift to be limited.  I did manage to import the library but the links are not being automatically detected.  </p>
