private lazy var contentLabel: UILabel = {
let label = UILabel()
label.translatesAutoresizingMaskIntoConstraints = false
label.font = .regularDMSans(of: ThreadDetailConstants.contentLabelFontSize)
label.textColor = .darkInputFilled
label.numberOfLines = ThreadDetailConstants.numberOfLines
return label
}()
override func updateContent() {
super.updateContent()
contentLabel.text = content?.text
}
When I press the content.text to the screen, the text that the user writes is printed. Sometimes users enter links to this content. The links entered must be clickable and in blue color.How can I do that?