使用MaterialComponents.MaterialCollections存在问题。 我使用两个函数:
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
和
func collectionView(_ collectionView: UICollectionView, willDeleteItemsAt indexPaths: [IndexPath])
当我选择单元格时,它将转到另一个ViewController,它是okey。但是当我启用编辑模式并且单元格开始浮动时,我只想选择要删除的单元格。但首先我去另一个观点,而不是回去,我的小区 already tagged for delete. 如何将segue中断到另一个视图并选择?