             self.setImage(ignoreColor ? image : image.imageWithColor(color: selectedColor), for: [.selected, .highlighted])
         }
         
-        
         // We don't want a background color to use the one in the tab bar.
         self.backgroundColor = UIColor.clear
     }

    ///   - animated: To animate or not.
    open func setBar(hidden: Bool, animated: Bool,duration: TimeInterval = 0.3, completion: ((Bool)->Void)? = nil) {
        let animations = {() -> Void in
            self.buttonsContainerHeightConstraint.constant = hidden ? 0 : self.buttonsContainerHeightConstraintInitialConstant
            self.view.layoutIfNeeded()
        }

        }
    }
    
    //  Distance between center button top and tab bar top
    open var centerButtonOffsetY: CGFloat = 0
    
    /// The duration that is needed to invoke a long click.
    open var longClickTriggerDuration: TimeInterval = 0.5
