         
         super.init(frame: frame)
 
-//        layer.addSublayer(selectionColorLayer)
-//        setupGradientContainerView()
         setupSelectionPickerView()
         setupPickerView()
 

        
        leftGradientLayer.frame = CGRect(x: 0, y: 0, width: gradientWidth, height: Int(self.frame.height))
        rightGradientLayer.frame = CGRect(x: Int(self.frame.width) - gradientWidth, y: 0, width: gradientWidth, height: Int(self.frame.height))

        selectionColorLayer.frame = frame

        maskingLayer?.removeFromSuperlayer()
        maskingLayer = nil

        let y = (frame.height / CGFloat(2)) - radius
        let x = (frame.width / CGFloat(2)) - radius

        let circlePath = UIBezierPath(roundedRect: CGRect(x: x, y: y, width: 2 * radius, height: 2 * radius), cornerRadius: radius)

        layer.path = circlePath.cgPath

        return layer
    }
