self.collectionView?.reloadItemsAtIndexPaths([indexPath]) is pretty heavy, is usually one of the most heavy operations you can do in a UICollectionView. Also when it reloads the cells it flashes or blinks which is a quite terrible effect. This PR adds a better way to reload cells in DATASource.
self.collectionView?.reloadItemsAtIndexPaths([indexPath])
is pretty heavy, is usually one of the most heavy operations you can do in aUICollectionView
. Also when it reloads the cells it flashes or blinks which is a quite terrible effect. This PR adds a better way to reload cells in DATASource.