Skip to content

Releases: kyleweiner/KWStepper

Version 2.5.3

04 Nov 06:03
34a637a
Compare
Choose a tag to compare

Adds support for Swift Package Manager (#18).

Version 2.5.2

04 Nov 02:43
Compare
Choose a tag to compare

Adds support for Swift 5.1 / Xcode 11 (#17).

Version 2.5.1

01 May 07:39
Compare
Choose a tag to compare

Adds support for Swift 5 / Xcode 10.2.1.

Version 2.5.0

18 Apr 06:52
Compare
Choose a tag to compare

Adds support for subclassing KWStepper (#12).

Version 2.4.0

27 Nov 01:25
Compare
Choose a tag to compare

Adds optional KWStepperDidEndLongPress() delegate method and longPressEndedCallback for when a long press gesture on the decrement or increment button ends. Use longPressEnded to set longPressEndedCallback via method chaining:

stepper
    .wraps(true)
    .longPressEnded { stepper in
        // ...
    }

Note that a clamped value will end a long press gesture when wraps is set to false.

Version 2.3.0

10 Nov 01:43
Compare
Choose a tag to compare

Adds support for Swift 4 / Xcode 9.

Version 2.2.1

23 Jan 05:50
Compare
Choose a tag to compare

See the updated README for more details.

Version 2.1.4

26 Sep 02:56
Compare
Choose a tag to compare

Adds support for Swift 3 / Xcode 8.

Version 2.1.3

22 Mar 07:55
Compare
Choose a tag to compare

Adds support for Swift 2.2 / Xcode 7.3 by using the new #selector syntax.

Version 2.1.2

22 Feb 05:01
Compare
Choose a tag to compare
  • Adds more comprehensive test coverage.
  • Fine-tunes when delegate methods and callbacks are executed.
  • Clarifies exactly when delegate methods and callbacks are executed in documentation.

Fine-tuning

  • The delegate methods and callbacks for decrementing / incrementing are executed via incrementValue() or decrementValue(), but not when setting value directly or when decrementing / incrementing results in clamping or wrapping.
  • The ValueChanged control event and valueChangedCallback are not executed when value is set to the previous value (e.g. value == oldValue), including when decrementing / incrementing results in clamping.