MMMVerticalGradientView
Objective-C
@interface MMMVerticalGradientView : UIView
                Swift
class MMMVerticalGradientView : UIView
                A view displaying a gradient from top to bottom. The linearity of the gradient can be controlled. Can be handy for shadow overlays, etc.
- 
                  
                  
Undocumented
Declaration
Objective-C
- (nonnull id)initWithTopColor:(UIColor *)topColor bottomColor:(UIColor *)bottomColor curve:(MMMAnimationCurve)curve NS_DESIGNATED_INITIALIZER;Swift
init(topColor: UIColor, bottomColor: UIColor, curve: MMMAnimationCurve) - 
                  
                  
Undocumented
Declaration
Objective-C
- (nonnull id)initWithTopColor:(UIColor *)topColor bottomColor:(UIColor *)bottomColor;Swift
convenience init(topColor: UIColor, bottomColor: UIColor) - 
                  
                  
Unavailable
Undocumented
Declaration
Objective-C
- (id)init NS_UNAVAILABLE; - 
                  
                  
Unavailable
Undocumented
Declaration
Objective-C
- (id)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE; - 
                  
                  
Unavailable
Undocumented
Declaration
Objective-C
- (id)initWithFrame:(CGRect)frame NS_UNAVAILABLE; 
      
    
      
    
        
            View on GitHub
          
      MMMVerticalGradientView Class Reference