     tabby.delegate = self
 
     return tabby
-  }()
+    }()
 
   /**
    The current selected controller in the tab bar.
-  */
+   */
   open var selectedController: UIViewController {
     return items[index].controller
   }
 
   /**
    Represents if the bar is hidden or not.
-  */
+   */
   open var barHidden: Bool = false {
     didSet {
       // Delay necessary when changing the whole controller -> UIViewController


  open func setBadge(_ value: Int, _ itemImage: String) {
    guard !items.filter({ $0.image == itemImage }).isEmpty else { return }
    
    tabbyBar.badges[itemImage] = value
  }


    }

    controller.view.translatesAutoresizingMaskIntoConstraints = false
    
    addChildViewController(controller)
    view.insertSubview(controller.view, belowSubview: tabbyBar)
    
    applyNewConstraints(controller)
  }
}
