Releases: RxSwiftCommunity/RxGesture
Releases · RxSwiftCommunity/RxGesture
RxGesture 2.0.1
RxGesture 2
- Adds compatibility with Xcode 10.0 and Swift 4.2
- Uses simpler and more consistant syntax. No more properties in constructors parameters. Please use the trailing closure to configure the gesture recognizer if needed.
- Adds 2 new custom gesture recognizers on iOS:
.forceTouch()
→ it exposes theforce
value of underlyingUITouch
objects.touchDown()
→ it exposes allUITouch
objects involved in the gesture
- Adds readable typealiases to represent an observable gesture recognizer. Ex:
Observable<UITapGestureRecognizer>
→TapObservable
- Enhances example projects
- Adds Mojave dark mode support for OSX example app
Bug Fixes
(Rx)Swift 4 support
This maintenance release:
- supports Swift 4
- supports RxSwift 4
- fixes #58
Bug Fixes
This update fixes access controls of RxGestureRecognizerDelegate
.
See 1.1.0
release for more information about new features.
One delegate to rule them all
RxGestureRecognizerDelegate
This release introduces a new customizable delegate RxGestureRecognizerDelegate
that replaces the old PermissiveGestureRecognizerDelegate
. It allows you to customize every delegate method using a policy.
See documentation for more information:
https://github.com/RxSwiftCommunity/RxGesture#delegate-customization
Other library changes
- fix carthage on macOS target (fix #48 #54 #55)
- set iOS minimum target to iOS 8.0 (fix #17)
- update to RxSwift 3.6.0
Examples changes
- fix a reentrancy issue in iOS example
- fix the anchor point for transform in macOS example
- fix a retain cycle in both examples
Compatibility Update
Update for RxSwift 3.4.0
The Rebirth
This release comes with a global refactor. Amongst all changes you'll find :
- new and richer API
- support of all native gesture recognizers for iOS and macOS (tap, pinch, pan, screen-edge-pan, rotation, long-press, click, etc...)
- open to third party gesture recognizers : you're now able to make your own gesture recognizers working with RxGesture, right into your project.
- support for gesture recognizer configuration : you're now able to configure all properties of a gesture recognizer
- smarter handling of continuous gestures (pan, pinch, rotate)
Check the README.md file and the Example project for more informations.
Update dependencies
0.2.1 update dependencies
RxSwift 3.0.0 support
Supports the final RxSwift 3.0.0 version + adds a new gesture for handling more than one taps or clicks