Handling Links in Text

Sometimes our text contains links that should be styled differently and react to taps so a URL can be opened in a web browser. While we can use a UILabel to detect and style links, they don't respond to touches. Let's see how we can leverage UITextView instead to handle links in NSAttribtedStrings.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/478-layout-in-code-links-in-text