VMF_RecovrrButton

@MainActor
final class VMF_RecovrrButton : UIButton

Recovrr’s solid button fill and sampled HSL gradient border, with its original-color logo.

  • Declaration

    Swift

    @MainActor
    private let _borderGradient: CAGradientLayer
  • Declaration

    Swift

    @MainActor
    private let _borderMask: CAShapeLayer
  • Installs the Recovrr logo, title, and gradient border after storyboard decoding.

    Declaration

    Swift

    @MainActor
    override func awakeFromNib()
  • Updates the text and fill for the current highlighted and enabled state.

    Declaration

    Swift

    @MainActor
    override func updateConfiguration()
  • Fits the gradient border to the current button bounds.

    Declaration

    Swift

    @MainActor
    override func layoutSubviews()
  • Declaration

    Swift

    @MainActor
    private static let _gradientColors: [CGColor]