         self.init()
         
         self.segmentTitles = titles
+        self.setup()
+    }
+    
+    /**
+     Init with coder
+     */
+    required public init?(coder aDecoder: NSCoder)
+    {
+        super.init(coder: aDecoder)
+        
         self.setup()
     }
     

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

    // MARK: - Getters / Setters
    // ---------------------------------------------------------------------------
    
    open var controlDelegate : TABSegmentedControlDelegate? {
        get { return self._controlDelegate }
        set { self._controlDelegate = newValue }
    }
