Social Link in Table View

I have a tableViewController and I have some social. I wish that every social is connected to the link of the corresponding homepage of social.



how can I do?



This is my app https://drive.google.com/file/d/0B9IhsIvn5gynZWN3TmFxSE9TZzA/view?usp=sharing

Implement tableView(_,didSelectRowAtIndexPath:) method and call openURL for each homepage URL would be the easiest way.

    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
        let row = indexPath.row
        let url = "http://www.google.com"   //Replace this according to the row
        UIApplication.sharedApplication().openURL(NSURL(string: url)!)
    }
Social Link in Table View
 
 
Q