     private static let DEFAULT_SEGMENT_WIDTH_PROPORTION : CGFloat = 0.4
     private static let DEFAULT_TINT_COLOR : UIColor = .blue
     
-    private var _controlDelegate : TABSegmentControlDelegate?
+    private var _controlDelegate : TABSegmentedControlDelegate?
     private var _segmentTitles : Array<String> = []
     private var _index : Int = 0
     private var _font : UIFont = UIButton().titleLabel!.font

        self.init()
        
        self.segmentTitles = titles
        self.setup()
    }
    

    // ---------------------------------------------------------------------------
    
    /**
     Init
     */
    public init ()
    {
        super.init(frame: CGRect.zero)
        
        self.setup()
    }

    /**
     Init with segment titles
     */
    convenience init (withSegmentTitles titles : Array<String>)
