 
 import UIKit
 
-protocol SwiftHUEColorPickerDelegate {
+public protocol SwiftHUEColorPickerDelegate {
 	func valuePicked(color: UIColor, type: SwiftHUEColorPicker.PickerType)
 }
 
-class SwiftHUEColorPicker: UIView {
+public class SwiftHUEColorPicker: UIView {
 	
 	// MARK: - Type
 	
-	enum PickerType: Int {
+	public enum PickerType: Int {
 		case Color
 		case Saturation
 		case Brightness

	
	// MARK: - Initialization
	
	required init(coder aDecoder: NSCoder) {
		super.init(coder: aDecoder)
		self.backgroundColor = UIColor.clearColor()
	}
	
	override init(frame: CGRect) {
		super.init(frame: frame)
		self.backgroundColor = UIColor.clearColor()
	}
	
	override func layoutSubviews() {
		super.layoutSubviews()
		
		update()

	
	// MARK: - Main public properties
	
	public var delegate: SwiftHUEColorPickerDelegate!
	public var type: PickerType = .Color
	public var direction: PickerDirection = .Horizontal
	public var currentColor: UIColor {
		get {
			return color
		}
