         return layer as! T
     }
     
-    override open class var layerClass : AnyClass {
+    override open class var layerClass: AnyClass {
         return T.self as AnyClass
     }
     



// MARK: - Gradient View

open class OMGradientView<T:AnyObject> : UIView {
    
    // MARK: - Properties
    

        super.init(frame: frame)
        setup()
    }

    required public init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        setup()
    }
    
    fileprivate func setup() {
        let scale =  UIScreen.main.scale
