 }
 
 /// TTADataPickerView
-class TTADataPickerView: UIView {
+open class TTADataPickerView: UIView {
     
     // MARK: - Public properties
     
-    weak var delegate: TTADataPickerViewDelegate?
+    public weak var delegate: TTADataPickerViewDelegate?
     
     /// Picker view component type, for MORE TTADataPickerViewType
-    var type: TTADataPickerViewType = .text {
+    public var type: TTADataPickerViewType = .text {
         didSet {
             switch type {
             case .text:


/// The component tpye of the TTADataPickerView

enum TTADataPickerViewType {
    /// pickerView default
    case text
    /// datePicker default, date


/// TTADataPickerViewDelegate

public protocol TTADataPickerViewDelegate: NSObjectProtocol {
    
    /// When the type of dataPickerView is `.text`, you should use this function to handle the selection
    ///
