 
 import UIKit
 
-protocol HAControlsTicksProtocol: NSObjectProtocol {
-    func ticksDistanceChanged(ticksDistance: CGFloat, sender: AnyObject)
-    func valueChanged(value: CGFloat)
-}
-
 enum ComponentStyle: Int {
     case IOS
     case Rectangular

		let ctx = UIGraphicsGetCurrentContext()
		// Track
		switch self.trackStyle {
			case .Rectangular:
                CGContextAddRect(ctx, self.trackRectangle)
			break
			case .Image:
			
				// Draw image if exists
				if let imageName = self.trackImage {
                    let image = UIImage(named:imageName)!
					//[NSBundle bundleForClass:[self class]]
//					if image != nil {
                    let centered = CGRectMake((self.frame.size.width/2)-(image.size.width/2), (self.frame.size.height/2)-(image.size.height/2), image.size.width, image.size.height)
						CGContextDrawImage(ctx, centered, image.CGImage)
//					}
				}
				break
			
            case .Invisible, .Rounded, .IOS:
				let path: UIBezierPath = UIBezierPath(roundedRect: self.trackRectangle, cornerRadius: self.trackRectangle.size.height/2)
				CGContextAddPath(ctx, path.CGPath)
				break
		}
        
		// Ticks

	}
	
	// MARK: Notifications
    
	func moveThumbToTick(tick: Int) {
		let intValue = Int(self.minimumValue)+(tick * Int(self.incrementValue))
		if intValue != _intValue {
