GradientContainerView

public class GradientContainerView: UIView

A view that contains a GradientView. Useful for sliding a CAGradientLayer without affecting the bottom-most CALayer.

  • A convenient way to access the GradientContainerView’s corresponding CAGradientLayer.

    Declaration

    Swift

    public var gradientLayer: CAGradientLayer