LXReorderableCollectionViewFlowLayout icon indicating copy to clipboard operation
LXReorderableCollectionViewFlowLayout copied to clipboard

Extends `UICollectionViewFlowLayout` to support reordering of cells. Similar to long press and pan on books in iBook.

Results 58 LXReorderableCollectionViewFlowLayout issues
Sort by recently updated
recently updated
newest added

may be this will be better solution ``` objc CGRect intersectionFrame = CGRectIntersection(self.currentView.frame, theFrame); if (intersectionFrame.size.height > theFrame.size.height/2 && intersectionFrame.size.width > theFrame.size.width/2) { [self dropCurrentItemOnIndexPath:newIndePath]; } else { [self moveCurrentItemToIndexPath:newIndePath];...

enhancement

Hi! Thanks for the awesome library! It would be great if one could drop in to add and drop out to remove objects to and from the collection view.

enhancement

add optional method to LXReorderableCollectionViewDataSource ``` objc - (void)collectionView:(UICollectionView *)collectionView moveItemAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath; ``` check if animation finished, perform moving in performBatchUpdates ``` objc if ([self.dataSource respondsToSelector:@selector(collectionView:itemAtIndexPath:willMoveToIndexPath:)]) { [self.dataSource...

There is a problem with LXReorderableCollectionViewFlowLayout when all your cells fit to one screen and you do the following: - Use the simulator and turn on slow animations - Drag...

I've got a tableview (on the left) and a reorderable collectionview on the right. What I'd like to be able to achieve is the ability to drag from the collection...

Hi, i've been using your layout for a while and encountered following problem: Basically, I mimic table view via UICollectionView (cell width = screen width, no gaps between cells) to...

Any reason for not using `moveItemAtIndexPath:toIndexPath:` instead of insert/delete [here](https://github.com/lxcid/LXReorderableCollectionViewFlowLayout/blob/master/LXReorderableCollectionViewFlowLayout/LXReorderableCollectionViewFlowLayout.m#L149-150)? Move appears to be a little bit more efficient. Also, it would make the block unnecessary.

I've been trying to get the resulting order after the cells have been moved. I've used this to make an array. I've noticed the index order seems to vary and...