GradientContainerView
public class GradientContainerView: UIView
A view that contains a GradientView
. Useful for sliding a CAGradientLayer
without
affecting the bottom-most CALayer
.
-
Undocumented
Declaration
Swift
override public init(frame: CGRect)
-
Undocumented
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
A convenient way to access the
GradientContainerView
’s correspondingCAGradientLayer
.Declaration
Swift
public var gradientLayer: CAGradientLayer