CoreDragon icon indicating copy to clipboard operation
CoreDragon copied to clipboard

Support for the new drag and drop in uitableview and uicollectionview

Open jcampbell05 opened this issue 8 years ago • 4 comments

Is there support for the new APIs Apple released for drag and drop with UITableView and UICollectionView ?

If not how do you think we could add support ?

jcampbell05 avatar Apr 27 '16 10:04 jcampbell05

Could you outline which API you would like to see adopted specifically?

bogo avatar Apr 27 '16 10:04 bogo

This one that has been introduced in iOS 9

http://nshint.io/blog/2015/07/16/uicollectionviews-now-have-easy-reordering/

jcampbell05 avatar Apr 27 '16 11:04 jcampbell05

@jcampbell05 Ooh, interactive movement looks fantastic. In the example app, you can see a sample of how to use drag'n'drop to support both dragging for the sake of moving items outside of a collection, and dragging for the sake of reordering -- supporting both at the same time. Implementing support for interactive movement in that sample sounds like a fun exercise; feel free to send a PR if you end up doing it :)

nevyn avatar Jun 05 '16 19:06 nevyn

@nevyn not quite there in my app but will do once I give it a go.

jcampbell05 avatar Jun 05 '16 20:06 jcampbell05