Skip to content
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

adding context menu example table view #62

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

thejeff77
Copy link

This PR is an example for iOS 13 context menus. Currently reordering doesn't function very well on a table with the new UIContextMenuInteraction functionality posted on the cells.

Suggestions for fixes are encouraged!

I've tried lowering the touch-hold duration and the animation duration for reordering:

        self.reorder.longPressDuration = 0.5
        self.reorder.animationDuration = 0.75

I'm also happy to pursue changes from Apple, as they don't have instrumentation for the UIGestureRecognizer that is attached to the object via the .addInteraction(<interaction>) function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant