title: Clickable link in TTTAttributedLabel with Swift
body: <p>I want to make a <code>UILabel</code> with some text with a click-able links in it. Not links to webpages but to actions like I  do with an <code>UIButton</code>. So I used <code>TTTAttributedLabel</code> which is working perfectly with <code>Objective C</code>. Now I want to do the same in <code>Swift</code>, so I wrote the below code:</p>
  
  <pre><code>self.someLabel.text = NSLocalizedString("Lost? Learn more.", comment: "")                
  let range = self.someLabel.text!.rangeOfString(NSLocalizedString("Learn more", comment:""))        
  self.someLabel.addLinkToURL (NSURL(string:"action://Learn more"), withRange:NSRange (range))
  </code></pre>
  
  <p>However, I cannot make the link work in <code>Swift</code>. I am getting the error: <code>“Missing argument for parameter 'host' in call”</code> for the last line.</p>