SwiftReorder icon indicating copy to clipboard operation
SwiftReorder copied to clipboard

adding context menu example table view

Open thejeff77 opened this issue 5 years ago • 1 comments

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

thejeff77 avatar Sep 15 '19 21:09 thejeff77