         }
     }
 
-    /**
-    If YES, value wraps from min <-> max. Default = false.
-    */
+    /// If YES, value wraps from min <-> max. Default = false.
     public var wraps: Bool = false
 
-    /**
-    Sends UIControlEventValueChanged, clamped to min/max. Default = 0.
-    */
+    /// Sends UIControlEventValueChanged, clamped to min/max. Default = 0.
     public var value: Double = 0 {
         didSet {
             if value > oldValue {

        }

        if longPressTimer == nil && sender.state == .Began {
            let selector = sender.view == incrementButton ? Selector("incrementValue") : Selector("decrementValue")

            longPressTimer = NSTimer.scheduledTimerWithTimeInterval(
                autoRepeatInterval,
                target: self,
                selector: selector,
                userInfo: nil,
                repeats: true
            )


public class KWStepper: UIControl {

    // MARK: - Required Variables

    /// The decrement button used initialize the control.
    let decrementButton: UIButton

    /// The increment button used initialize the control.
    let incrementButton: UIButton

    // MARK: - Optional Variables

    /// If true, press & hold repeatedly alters value. Default = true.
    public var autoRepeat: Bool = true {
        didSet {
            if autoRepeatInterval <= 0 {
