在不同集合视图之间拖放单元格 [英] Drag and Drop cell between different Collection Views

查看:38
本文介绍了在不同集合视图之间拖放单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个屏幕上有多个收藏夹视图

在collectionView One中,我有一个普通的单元格,例如Square在collectionView中,我有两个分组单元格,例如,同一个单元格,但多个单元格由Group的边框包围

我需要启用从一个收藏夹视图到另一个收藏夹视图之间的拖放.

我正在使用Swift 3.0.

解决方案

您可以在GitHub上使用它:

这是一个不错的指南:

http://blog.karmadust.com/drag-and-drop-between-uicollectionviews/

I have multiple collection views on one screen

In collectionView One i have normal cell like Square In collectionView two i have group cell e.g same cell but multiple surrounded by a border of Group

I need to Enable Drag and Drop between One Collection View to Another.

I am using swift 3.0.

解决方案

You can use this one from GitHub:

https://github.com/mmick66/KDDragAndDropCollectionView

And here is a nice guide for it:

http://blog.karmadust.com/drag-and-drop-between-uicollectionviews/

这篇关于在不同集合视图之间拖放单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆