             self.tableView?.reloadData()
         }
     }
-
+    open weak var delegate: TCPickerViewDelegate?
     open var completion: Completion?
     open var selection: Mode = .single
     

                values[indexPath.row].isChecked = !values[indexPath.row].isChecked
        }
        self.values = values
    }
}

//

import UIKit

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

open class TCPickerView: UIView, UITableViewDataSource, UITableViewDelegate {
    
