             
             if defaultTabBarItem == tabBarItem {
                 //Load the default VC
-                self.loadViewController(tabBarItem)
+                self.loadViewControllerFrom(tabBarItem)
             }
             
             //Call action on touchUpInside

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

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
