You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2019. It is now read-only.
I have a collectionView that implements RAReorderableLayout and when I long press a collection item the cells must enter in edit mode and they must look different so that edit buttons appear in each cell view.
Everything works fine unless after I enter the screen, where this collection view is, I long press a cell very quickly and it does not manage to finish redrawing the cells and it reaches this line in your code and crashes because currentCell is nil and you don't unwrap it correctly:
let currentCell = collectionView?.cellForItem(at: indexPath!)
cellFakeView = RACellFakeView(cell: currentCell!)
Please unwrap it correctly so I can still use cocoapods with the bug fix. Thank you!
The text was updated successfully, but these errors were encountered:
I have a collectionView that implements RAReorderableLayout and when I long press a collection item the cells must enter in edit mode and they must look different so that edit buttons appear in each cell view.
Everything works fine unless after I enter the screen, where this collection view is, I long press a cell very quickly and it does not manage to finish redrawing the cells and it reaches this line in your code and crashes because currentCell is nil and you don't unwrap it correctly:
Please unwrap it correctly so I can still use cocoapods with the bug fix. Thank you!
The text was updated successfully, but these errors were encountered: