                 values[indexPath.row].isChecked = !values[indexPath.row].isChecked
         }
         self.values = values
+        self.delegate?.pickerView(self, didSelectRowAtIndex: indexPath.row)
     }
 }

            self.tableView?.reloadData()
        }
    }

    open var completion: Completion?
    open var selection: Mode = .single
    

//

import UIKit

public protocol TCPickerViewDelegate: class {
    func pickerView(_ pickerView: TCPickerView, didSelectRowAtIndex index: Int)
}

open class TCPickerView: UIView, UITableViewDataSource, UITableViewDelegate {
    
