CombineDataSources
CombineDataSources copied to clipboard
Fixes wrong index path occuring after performBatchUpdates
When performing large amounts of updates to collectionView, there is a bug that cellForRowAt contains incorrect indexPath. I found out that it's most likely caused by an issue in performBatchUpdates function which sometimes causes collectionView to have outdated results.