     }
 
     
-    public func switchCenterButtonBackTo(type: CenterButtonType) {
+    public func switchCenterButtonBackTo(theType: CenterButtonType) {
         let tabItem: RAMAnimatedTabBarItem = tabBar.items![1] as! RAMAnimatedTabBarItem
         //(tabItem.iconColor.cgColor.alpha == 0) ? .alwaysOriginal : .alwaysTemplate
-        let image = UIImage(named: type.rawValue)?.withRenderingMode(.alwaysOriginal)
+        let image = UIImage(named: theType.rawValue)?.withRenderingMode(.alwaysOriginal)
         tabItem.image = image
         tabItem.iconView?.icon.image = tabItem.image
         viewControllers?[1].tabBarItem = tabItem

  fileprivate var didInit: Bool = false
  fileprivate var didLoadView: Bool = false
  
  // MARK: life circle
  
  /**

    var isCheckmark: Bool = false
    var centerButtonCallback: (() -> Void)?
    
    
    public func switchCenterTabItemIcon(theType:CenterButtonType, action: @escaping () -> Void) {
        centerButtonCallback = action
        let tabItem: RAMAnimatedTabBarItem = tabBar.items![1] as! RAMAnimatedTabBarItem
        let image = UIImage(named: theType.rawValue)?.withRenderingMode(.alwaysOriginal)
        tabItem.image = image
        tabItem.iconView?.icon.image = tabItem.image
        viewControllers?[1].tabBarItem = tabItem
