XWDragCellCollectionView icon indicating copy to clipboard operation
XWDragCellCollectionView copied to clipboard

Results 8 XWDragCellCollectionView issues
Sort by recently updated
recently updated
newest added

当itemsize 占屏幕面积较大时, 从下往上拖动 两个item 疯狂交换位置 闪屏

想要实现这个功能需要更改什么地方呢?

如何控制只拖动第一个section,其他不拖动

您好!发现一个问题,在把cell 拖拽到cell之间的间隙时,不会交换,但是如果滚出一个屏幕时会出错。

能否提供一下 图片3 瀑布流的demo?

在编辑模式下,不能交换位置的cell,在点到这些cell上滚动的时候,无法滚动collectionview. - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{ _longPressGesture.enabled = [self indexPathForItemAtPoint:point]; //获取手指所在的cell NSIndexPath *indexPath = [self indexPathForItemAtPoint:point]; if ([self xwp_indexPathIsExcluded:indexPath]) { _longPressGesture.enabled = false; } return [super hitTest:point withEvent:event]; } 并且要是能实现长按编辑删除的功能就更好了。

xwp_moveCell里头,应该判断下_moveIndexPath不等于_originalIndexPath,再执行交换位置