InsetTextFieldGradient
final class InsetTextFieldGradient : InsetTextField
An InsetTextField with a gradient
-
Expose start color
Declaration
Swift
@IBInspectable var startColor: UIColor { get set }
-
Expose end color
Declaration
Swift
@IBInspectable var endColor: UIColor { get set }
-
Expose orientation
Declaration
Swift
@IBInspectable var orientation: Int { get set }
-
Procedural intializer
Declaration
Swift
override init(frame: CGRect)
Parameters
frame
Display frame
-
Update screen rendering
Declaration
Swift
override func layoutSublayers(of layer: CALayer)
Parameters
layer
Our layer