LXReorderableCollectionViewFlowLayout
LXReorderableCollectionViewFlowLayout copied to clipboard
Extends `UICollectionViewFlowLayout` to support reordering of cells. Similar to long press and pan on books in iBook.
The logic behind this change is that I have "Trash Can" where user can drag the view cell. When the cell is "let go" on top of the trashcan I...
How can I enable the call to collectionView: didSelectItemAtIndexPath: when using the LXReorderableCollectionViewFlowLayout , so far I noticed that the gesture delegate method gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer: returns NO when the tap is...
...other cell. When local variable 'previousIndexPath' is nil, the method -(void) invalidateLayoutIfNecessary will crash at line 171. This fix prevents indexing into 'nil' at line 171.
Is there a way to add a trash can at the bottom of the view so that when an item is being dragged on it, the item will be deleted...
I have an issue with a transparent cell, when I do a long press, and cell gets scaled up a little, the background of the cell becomes black, and it...
Hi. I'm using your library through pods. I have a problem. I have to catch the cell that is on dragging states. In these delegates, - (void)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout...
Hi, this great layout is easily extended to support multiple sections and section headers (with supplementary views). Drag and drag between sections works out-of-the-box. However dragging to empty sections is...
Before I start: AWESOME code!!!! This has saved me SO SO SO much time. Here is my problem: I've implemented you code by integrating it with my existing UICollectionView object:...
If you have content insets on your collection view and you dragged a cell out of its insets it scrolled the collection view out of sight. And your cell disappears......
``` [self.m_collectionView.collectionView deleteItemsAtIndexPaths:[NSArray arrayWithObject:indexPath]]; ``` This deletes the cell with nice animation BUT the cells gets squeezed together. See last row in photo. All I did was delete the last...