BVReorderTableView icon indicating copy to clipboard operation
BVReorderTableView copied to clipboard

Cancel Edits before dragging

Open SwiftArchitect opened this issue 11 years ago • 0 comments

Fantastic library! Cells can currently be dragged in UITableViewCellEditingStyleDelete mode. self editing

Add

[self setEditing:NO animated:NO];

somewhere in

- (void)longPress:
...
if (gesture.state == UIGestureRecognizerStateBegan) {
    ...
    [cell setHighlighted:NO animated:NO];
    [self setEditing:NO animated:NO];
    ...
}

It takes care of it. Much thanks.

SwiftArchitect avatar Sep 21 '13 06:09 SwiftArchitect