All notable changes to GestureRecognizerClosures
will be documented in this file.
GestureRecognizerClosures
adheres to Semantic Versioning.
- 5.0.0 - Swift 5
- 4.1.0 - Swift 4.2
- 4.0.0 - Swift 4
- 3.1.0 - Swift 3.1
- 3.0.0 - Swift 3 and Xcode 8
- 2.3.0 - Closure support for
UIControl
- 2.2.0 - Closure support for
UIBarButtonItem
- 2.1.0 - Closure support for
UIScreenEdgePanGestureRecognizer
- 2.0.0 - Swift 2 and Xcode 7
- 1.1.0 -
UIView
convenience functions to add closureUIGestureRecognizers
- 1.0.0 - Closure initializers for
UIGestureRecognizer
Released on 2019-04-06
Released on 2018-09-18
Released on 2017-10-11
Updated to support Swift 3.1
Released on 2017-03-30
Updated to support Swift 3.1
Released on 2016-09-16
Updated code to Swift 3 syntax.
- Compile against Swift 3
- Update project to Xcode 8
Released on 2016-02-22
Allows a specified closure to be invoked for particular UIControlEvents
on a UIControl
.
- Function to add handler to a
UIControl
for selectedUIControlEvents
- Function to remove handler from a
UIControl
Released on 2016-02-14
Allows a specified closure to be invoked when a UIBarButtonItem
is selected.
- Convenience initializers for
UIBarButtonItem
that take a closure - Handler property for
UIBarButtonItem
that is invoked when the item is selected
Released 2016-02-2
Allows a specified closure to be invoked when a UIScreenEdgePanGestureRecognizer
is recognized.
- Convenience initializer for
UIScreenEdgePanGestureRecognizer
that takes a closure - Convenience function to add a closure
UIScreenEdgePanGestureRecognizer
to aUIView
Released 2015-09-16
Updated code to Swift 2 syntax.
- Compile against Swift 2
- Update project to Xcode 7
Released 2015-09-16
Provides a convenient way to add closure UIGestureRecognizers
to a UIView
.
- The following convenience to
UIView
- onTap
- onDoubleTap
- onLongPress
- onPinch
- onPan
- onRotate
- onSwipeLeft
- onSwipeRight
- onSwipeUp
- onSwipeDown
Released 2015-08-26
Allows a specified closure to be invoked when instances of UIGestureRecognizer
are recognized.
- Initializer for
UIGestureRecognizer
that takes a closure