     /// :param: bar the tabbar
     /// :returns: the position for the tabbar
     optional func positionForTabbar(bar: UIBarPositioning) -> UIBarPosition
+    
+    /// Delegate objects can implement this method to specify the position of the Tabbar.
+    ///
+    /// :param: bar the tabbar
+    /// :returns: the position for the tabbar
+    optional func colorForTabIndicator() -> UIColor
 }
                tabWidth = self.delegate!.widthForTabAtIndex!(index)
            }
            
            let tabView: RGTabView = RGTabView(frame: CGRectMake(0.0, 0.0, tabWidth, self.tabHeight))
            
            tabView.addSubview(tabViewContent!)
            tabView.clipsToBounds = true

        }
        
        if self.pageViewControllers.objectAtIndex(index).isEqual(NSNull()) {
            let vc: UIViewController? = self.datasource?.viewControllerForPageAtIndex?(self, index: index)
            let view: UIView = vc?.view.subviews[0] as UIView
            
            if view is UIScrollView {
                var edgeInsets: UIEdgeInsets = (view as UIScrollView).contentInset
                
                if self.tabbarPosition == UIBarPosition.Top || self.tabbarPosition == UIBarPosition.TopAttached {
