             }
             .startWith(self.selectedRows ?? [])
     }()
+    var segmentedControl: UISegmentedControl?
+    private var initSegementedControl: Bool = false
+    private let segementedControlHeight: CGFloat = 29
+    private let segementedControlSuperViewHeight: CGFloat = 29 + 16
 
     var delegate: PopUpPickerViewDelegate? {
         didSet {

        }
        let screenSize = UIScreen.mainScreen().bounds.size
        UIView.animateWithDuration(0.2) {
            self.frame = CGRectMake(0, self.parentViewHeight() - 260.0, screenSize.width, 260.0)
        }
    }


    import RxSwift
    import RxCocoa
#endif

public enum PopUpPickerViewStyle
{
    case Default
    case WithSegementedControl
}

class PopUpPickerView: PopUpPickerViewBase {

