SwiftReorder
SwiftReorder copied to clipboard
adding context menu example table view
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