     }
 	
 	/// Creates a `ColorSlider` with a frame of `frame`.
-	/// - parameter frame: The initial frame of the `ColorSlider`.
     public override init(frame: CGRect) {
         super.init(frame: frame)
         commonInit()

//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
//  SOFTWARE.

/**
	Create and add an instance of  ColorSlider to your view hierarchy.

	``` Swift
	let colorSlider = ColorSlider()
	colorSlider.frame = CGRectMake(0, 0, 12, 150)
	view.addSubview(colorSlider)
	```

	ColorSlider is a subclass of `UIControl` and supports the following `UIControlEvents`:
	- `.TouchDown`
	- `.ValueChanged`
	- `.TouchUpInside`
	- `.TouchUpOutside`
	- `.TouchCancel`

	You can get the currently selected color with the `color` property.
	```
	colorSlider.addTarget(self, action: "changedColor:", forControlEvents: .ValueChanged)

	func changedColor(slider: ColorSlider) {
	var color = slider.color
	// ...
	}
	```

	Enable live color preview:
	```
	colorSlider.previewEnabled = true
	```

	Customize appearance:
	```
	colorSlider.orientation = .Horizontal
	colorSlider.borderWidth = 2.0
	colorSlider.borderColor = UIColor.whiteColor()
	```
*/

import UIKit
import Foundation

		previewView.backgroundColor = color
    }
	
	/// Removes the color preview
    private func removePreview() {
		if !previewEnabled || previewView.superview == nil { return }
		
