Here's a solution that extends the UIButton class. No need to sub-class. In my example, button alpha is set to 0.55 if .isEnabled is false, and 1.0 if it's true.
extension UIButton {
override open var isEnabled: Bool{
didSet {
self.alpha = isEnabled ? 1.0 : 0.55
}
}