 @available(*, deprecated: 3.1, message: "ENMBadgedBarButtonItem will soon become unavailable. Please use the updated BadgedBarButtonItem class name")
 public typealias ENMBadgedBarButtonItem = BadgedBarButtonItem
 
-public class BadgedBarButtonItem: UIBarButtonItem {
+open class BadgedBarButtonItem: UIBarButtonItem {
     
     var badgeLabel: UILabel = UILabel()
     @IBInspectable public var badgeValue: Int  = 0 {

        badgeLabel.textColor = badgeProperties.textColor
        badgeLabel.backgroundColor = badgeProperties.backgroundColor
    }
    
    /**
     Creates the internal UIButton to be used as the custom view of the UIBarButtonItem.

    
    func updateBadgeProperties() {
        if let customView = self.customView {
            calculateUpdatedBadgeFrame(usingFrame: customView.frame)
        }
    }
    
