     var indicatorHeight: CGFloat = 2.0
     var indicatorColor: UIColor = UIColor.lightGrayColor()
     
-    override init(frame: CGRect) {
+    init(frame: CGRect, color indicatorColor: UIColor) {
         super.init(frame: frame)
         
+        self.indicatorColor = indicatorColor
         self.initSelf()
     }
 

            self.tabHeight = self.delegate!.heightForTabbar!()
        }
        
        self.tabScrollView.frame = CGRectMake(0.0, 0.0, self.view.bounds.size.width, self.tabHeight)
        self.tabScrollView.setTranslatesAutoresizingMaskIntoConstraints(false)
        self.tabScrollView.backgroundColor = UIColor.clearColor()

                tabWidth = self.delegate!.widthForTabAtIndex!(index)
            }
            
            let tabView: RGTabView = RGTabView(frame: CGRectMake(0.0, 0.0, tabWidth, self.tabHeight), color: self.tabIndicatorColor)
            
            tabView.addSubview(tabViewContent!)
            tabView.clipsToBounds = true
