Los enlaces TTTAttributedLabel están diseñados pero no se puede hacer clic en ellos

He estado buscando una solución para que funcionen los enlaces en los que se puede hacer clic. Puedo hacer que esto funcione cuando uso UITextView + NSAttributedString pero simplemente no se ejecuta automáticamente cuando es un UITableViewCell.

Ahora he agregado TTTAttributedLabel a mi proyecto y da estilo a las vistas perfectamente. Los enlaces también se vuelven azules y están subrayados.

Sin embargo, hacer clic en ellos no hace nada. Implementé TTTAttributedLabelDelegate en mi controlador, hice que la etiqueta en el guión gráfico implementara MyLabel (que solo extiende TTTAttributedLabel y tiene las opciones de delegado ya que quiero que se activen dentro de la misma función). Por ahora he configurado el controlador para que sea el delegado que estaba pensando que podría no funcionar apuntando a sí mismo.

Pero ninguna de estas funciones se activa, obtuve puntos de interrupción y registros.

Implementé didSelectLinkWithUrl y didLongPressLinkWithUrl.

 func attributedLabel(label: TTTAttributedLabel!, didSelectLinkWithURL url: NSURL!) {
        Debug.log("link clicked")
    }
    func attributedLabel(label: TTTAttributedLabel!, didLongPressLinkWithURL url: NSURL!, atPoint point: CGPoint) {
        Debug.log("link long clicked")
    }

Toma de corriente

@IBOutlet weak var content: MyLabel!

MyLabel

import UIKit import TTTAttributedLabel

class MyLabel : TTTAttributedLabel, TTTAttributedLabelDelegate {

override func didMoveToSuperview() {
    if (self.delegate == nil) {
        self.delegate = self
    }
    self.enabledTextCheckingTypes = NSTextCheckingType.Link.rawValue
    self.userInteractionEnabled = true
}

func attributedLabel(label: TTTAttributedLabel!, didSelectLinkWithURL url: NSURL!) {
    Debug.log("link clicked")
}
func attributedLabel(label: TTTAttributedLabel!, didLongPressLinkWithURL url: NSURL!, atPoint point: CGPoint) {
    Debug.log("link long clicked")
}

Alguien sabe lo que podría estar perdiendo?

Actualizar

Descubrí que solo pegando en una url f / ehttp://ejemplo.com se vuelve activo y en realidad se puede hacer clic y didSelectLinkWithUrl se hace clic, aunque necesito una cadena atribuida y se basa en una cadena HTML.

Respuestas a la pregunta(2)

Su respuesta a la pregunta