         self.renderButtons()
     }
     
-    func updateBackgroundColor (color: UIColor) {
+    private func updateBackgroundColor (color: UIColor) {
         contentTabBarView.backgroundColor = color
     }
     

        }
    }
    
    func renderButtons() {
        
        //Get all TabBarItems and divide the width between
        let widthPerButton = (self.view.frame.width - spaceBetweenTabs*CGFloat(tabBarItems.count))/CGFloat(tabBarItems.count)

import UIKit

class TTTabBar: UIViewController {
    
    private var detailView: UIView! //View that will show controllers
    private var activeTabBar: TTTabBarItem? //Active showing view Controller
    private var tabBarView: UIView! //View of tabBar
