 
             makeUI()
 
-//            let tap = UITapGestureRecognizer(target: self, action: "hide")
-//            containerView.addGestureRecognizer(tap)
-//
-//            tap.cancelsTouchesInView = true
-//            tap.delegate = self
+            let tap = UITapGestureRecognizer(target: self, action: "hide")
+            containerView.addGestureRecognizer(tap)
+
+            tap.cancelsTouchesInView = true
+            tap.delegate = self
         }
     }
 

    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
    }
}


        NSLayoutConstraint.activateConstraints([tableViewBottomConstraint, tableViewHeightConstraint])
    }
}

// MARK: - UIGestureRecognizerDelegate

extension MoreMessageTypesView: UIGestureRecognizerDelegate {

    func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldReceiveTouch touch: UITouch) -> Bool {

        if touch.view != containerView {
            return false
        }

        return true
    }
}

// MARK: - UITableViewDataSource, UITableViewDelegate

extension MoreMessageTypesView: UITableViewDataSource, UITableViewDelegate {

