             make.bottom.equalTo(self)
             make.height.equalTo(1)
         }
+        
+        deleteButton.addTarget(self, action: #selector(RowView.didTapDeleteButton(_:)), forControlEvents: UIControlEvents.TouchUpInside)
+        addSubview(deleteButton)
+        deleteButton.snp_makeConstraints { (make) in
+            make.width.equalTo(24)
+            make.height.equalTo(24)
+            make.centerY.equalTo(containerView)
+            make.right.equalTo(self).offset(-8).priority(990)
+            make.left.equalTo(containerView.snp_right).priority(989)
+        }
+
     }
     
     func configureViews() {

    
    let comparisonButton: UIButton = {
        let button = UIButton(type: .Custom)
        button.setContentHuggingPriority(900, forAxis: UILayoutConstraintAxis.Horizontal)
        button.contentHorizontalAlignment = .Left
        button.setTitleColor(UIColor.magentaColor(), forState: UIControlState.Normal)
        return button

    let keyPathButton: UIButton = {
        let button = UIButton(type: .Custom)
        button.setContentHuggingPriority(901, forAxis: UILayoutConstraintAxis.Horizontal)
        button.setContentCompressionResistancePriority(900, forAxis: UILayoutConstraintAxis.Horizontal)
        button.contentHorizontalAlignment = .Left
        button.setTitleColor(kButtonTint, forState: UIControlState.Normal)
        return button
