Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed intermittent crash when long press one cell & drag and tap/hold an... #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

louistran99
Copy link

...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.

@lxcid
Copy link
Owner

lxcid commented Nov 27, 2014

Reference for future review: lukescott/DraggableCollectionView#37

joshuafeldman added a commit to joshuafeldman/LXReorderableCollectionViewFlowLayout that referenced this pull request May 18, 2016
randarnold pushed a commit to SpotlightMediaLabs/LXReorderableCollectionViewFlowLayout that referenced this pull request Jul 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants