之前项目里面仿写了系统tableView自带的移动cell的功能。后来发现也可以用在collectionView里面,很方便看懂和移植。效果如下:
![](https://img.haomeiwen.com/i2257396/3eaf54a8b70a79e4.gif)
附上github地址:https://github.com/a244676199/RemoveCollectionViewItem
希望会喜欢。
之前项目里面仿写了系统tableView自带的移动cell的功能。后来发现也可以用在collectionView里面,很方便看懂和移植。效果如下:
附上github地址:https://github.com/a244676199/RemoveCollectionViewItem
希望会喜欢。
本文标题:iOS CollectionView中Item移动
本文链接:https://www.haomeiwen.com/subject/eedxjttx.html
网友评论