From 2bbaef4d3b0a98d9ac4accf11d4f417730c0ee92 Mon Sep 17 00:00:00 2001 From: Kyle Weiner Date: Sun, 21 Feb 2016 23:19:14 -0500 Subject: [PATCH] Clarify documentation for delegate methods --- Source/KWStepper.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/KWStepper.swift b/Source/KWStepper.swift index fd853aa..a8175ec 100644 --- a/Source/KWStepper.swift +++ b/Source/KWStepper.swift @@ -8,16 +8,16 @@ import UIKit /// Optional delegate methods for tailoring the UX. @objc public protocol KWStepperDelegate { - /// Called when `value` is decremented. + /// Called when `value` is decremented; not when `value` is clamped or wrapped. optional func KWStepperDidDecrement() - /// Called when `value` is incremented. + /// Called when `value` is incremented; not when `value` is clamped or wrapped. optional func KWStepperDidIncrement() - /// Called when `value` is clamped to `maximumValue`. + /// Called when `value` is clamped to `maximumValue` via `incrementValue()`. optional func KWStepperMaxValueClamped() - /// Called when `value` is clamped to `minimumValue`. + /// Called when `value` is clamped to `minimumValue` via `decrementValue()`. optional func KWStepperMinValueClamped() }