-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Gesture Manager Delegate methods #697
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmkiley
added
the
breaking change ⚠️
If your pull request introduces a breaking change and updates are required when version is published
label
Sep 22, 2021
Sources/MapboxMaps/Gestures/GestureHandlers/DoubleTapToZoomGestureHandler.swift
Outdated
Show resolved
Hide resolved
neelmistry94
approved these changes
Sep 22, 2021
nishant-karajgikar
force-pushed
the
feature/gestures_cleanup
branch
from
September 22, 2021 17:36
ad05bdb
to
5fdc54d
Compare
jmkiley
force-pushed
the
jk/gesture-manaager-delegate
branch
2 times, most recently
from
September 22, 2021 19:53
f37d595
to
792af8b
Compare
macdrevx
suggested changes
Sep 22, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is on the right track. I haven't reviewed tests yet, but let's address this batch of feedback first.
Sources/MapboxMaps/Gestures/GestureHandlers/GestureHandler.swift
Outdated
Show resolved
Hide resolved
Sources/MapboxMaps/Gestures/GestureHandlers/PanGestureHandler.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 23, 2021
macdrevx
reviewed
Sep 23, 2021
Sources/MapboxMaps/Gestures/GestureHandlers/GestureHandler.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 23, 2021
macdrevx
reviewed
Sep 23, 2021
Tests/MapboxMapsTests/Gestures/GestureHandlers/DoubleTapToZoomInGestureHandlerTests.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 23, 2021
Tests/MapboxMapsTests/Gestures/GestureHandlers/DoubleTapToZoomInGestureHandlerTests.swift
Show resolved
Hide resolved
macdrevx
reviewed
Sep 23, 2021
Tests/MapboxMapsTests/Gestures/GestureHandlers/PanGestureHandlerTests.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 23, 2021
8 tasks
Update so double tap calls end method immediately Add driftEnded Begin to update mock GestureManager and GestureHandlers Update pan and double tap gesture tests Update pinch tests Update pitch tests, assert if willDecelerate is false/true instead of equal Update tests for rotate and quick zoom, fix typos Add link to CHANGELOG Set .began to ended in rorate tests Update docs
…InGestureHandlerTests.swift Co-authored-by: Andrew Hershberger <andrew.hershberger@mapbox.com>
jmkiley
force-pushed
the
jk/gesture-manaager-delegate
branch
from
September 24, 2021 15:48
5261994
to
0e0cc1b
Compare
macdrevx
reviewed
Sep 24, 2021
Co-authored-by: Andrew Hershberger <andrew.hershberger@mapbox.com>
macdrevx
reviewed
Sep 24, 2021
Tests/MapboxMapsTests/Foundation/Camera/Mocks/MockCameraAnimationsManager.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 24, 2021
Tests/MapboxMapsTests/Foundation/Camera/Mocks/MockCameraAnimationsManager.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 24, 2021
Tests/MapboxMapsTests/Foundation/Camera/Mocks/MockCameraAnimationsManager.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 24, 2021
Tests/MapboxMapsTests/Gestures/GestureHandlers/DoubleTapToZoomInGestureHandlerTests.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 24, 2021
Tests/MapboxMapsTests/Gestures/GestureHandlers/DoubleTapToZoomInGestureHandlerTests.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 24, 2021
Tests/MapboxMapsTests/Gestures/GestureHandlers/PanGestureHandlerTests.swift
Outdated
Show resolved
Hide resolved
macdrevx
reviewed
Sep 24, 2021
Tests/MapboxMapsTests/Gestures/GestureHandlers/PanGestureHandlerTests.swift
Show resolved
Hide resolved
macdrevx
reviewed
Sep 24, 2021
macdrevx
reviewed
Sep 24, 2021
Tests/MapboxMapsTests/Gestures/Mocks/MockGestureManagerDelegate.swift
Outdated
Show resolved
Hide resolved
macdrevx
approved these changes
Sep 24, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
breaking change ⚠️
If your pull request introduces a breaking change and updates are required when version is published
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PRs must be submitted under the terms of our Contributor License Agreement CLA.
Fixes: < Link to related issues that will be fixed by this pull request, if they exist >
Pull request checklist:
mapbox-maps-ios
changelog:<changelog></changelog>
.Summary of changes
This PR:
GestureManagerDelegate.gestureBegan(for:)
toGestureManagerDelegate.gestureManager(_:didBegin:)
.GestureHandlerDelegate
andGestureManagerDelegate
.User impact (optional)