A lot of iOS apps make extensive use of collections and tables. Therefore, it makes a lot of sense that, whenever Apple introduces a huge feature such as drag and drop, they take a step back and evaluate how the feature should work for collections or tables. Luckily, drag and drop was no exception and Apple truly put some thought into making drag and drop work great.
In this section, you'll implement drag and drop for the collection of images that is at the bottom of the screen for the ARGallery app you created in Chapter 12, Using Augmented Reality. You will implement the following features that use drag and drop for UICollectionView:
- Dragging photos from the collection into the AR viewport.