 		image = generateHUEImage(self.frame.size)
 	}
 	
-	// Drawing
+	// MARK: Drawing
 	
 	override func drawRect(rect: CGRect) {
 		super.drawRect(rect)


class SwiftThicknessPicker: UIView {

	// Direction
	
	enum PickerDirection: Int {
		case Horizontal
		case Vertical
	}
	
	// Public properties
	
	var delegate: SwiftThicknessPickerDelegate!
	var direction: PickerDirection = .Horizontal

	var bgCornerRadius: CGFloat = 30
	var barColor: UIColor = UIColor.grayColor()
	
	// MARK: Private properties
	
	private var value: Int = 0
	private var image: UIImage!
	private var currentSelectionY: CGFloat = 0.0
	private var currentSelectionX: CGFloat = 0.0
	
	// MARK: Initialization
	
	required init(coder aDecoder: NSCoder) {
		super.init(coder: aDecoder)
