 
         return cell
     }
-
-//    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
-//
-//        defer {
-//            tableView.deselectRowAtIndexPath(indexPath, animated: true)
-//        }
-//
-//        let keyword = keywords[indexPath.row]
-//        tapKeywordAction?(keyword: keyword)
-//    }
 }
 

    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {

        let cell = tableView.dequeueReusableCellWithIdentifier(KeywordCell.reuseIdentifier) as! KeywordCell
        let keyword = keywords[indexPath.row]
        //cell.keywordLabel.text = keyword

        cell.keyword = keyword

        cell.tapKeywordAction = { [weak self] keyword in

        contentView.addSubview(keywordButton)

        keywordButton.translatesAutoresizingMaskIntoConstraints = false

        let leading = keywordButton.leadingAnchor.constraintGreaterThanOrEqualToAnchor(contentView.leadingAnchor, constant: 15)
        let centerX = keywordButton.centerXAnchor.constraintEqualToAnchor(contentView.centerXAnchor)
