lukescott / DraggableCollectionView

Extension for the UICollectionView and UICollectionViewLayout that allows a user to move items with drag and drop. --- HELP WANTED --- Looking for maintainer and help with the experimental branch.
MIT License
549 stars 175 forks source link

Dragging seems a bit slugish on device since closest index update #17

Closed lukescott closed 11 years ago

lukescott commented 11 years ago

I didn't notice this is simulator, but the dragging seems a bit sluggish to me since 509427281a41c4a69d83dd4444fe8842f6a9b968 on a physical iPad. Maybe I'm just imagining it.

I think it might have to do with the "closest item" changing too frequently, causing the layout to be regenerated more often. I'll have to run some tests to confirm.

Maybe adding some sort of small delay in re-ordering would smooth things out a bit.

lukescott commented 11 years ago

I ran the demo through profiler, and I guess I was imagining it. Close to 60 fps.