How to make a link clickable in a UITableViewCell

Hey guys how do I make a link clickable in a table view cell as shown in the image below ? The information is from a Json File

func tableView( tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return albums.count

   func tableView( tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
    let cell = tableView.dequeueReusableCell(withIdentifier: "albumID", for: indexPath)
    let album :[String:Any] = albums[indexPath.row]

    cell.textLabel?.text = album["collectionName"] as? String
    cell.detailTextLabel?.text = album["artistName"] as? String

    return cell


Terms of Service

Privacy Policy

Cookie Policy