mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-23 09:18:29 +00:00
clean commented out code
Summary: * Removed comments Reviewed By: lorixx Differential Revision: D10453000 fbshipit-source-id: 02fb93eb7ad5c3122c2bc1b2722cc8c25dc12d84
This commit is contained in:
parent
ffb37d6826
commit
13d22fbfed
1 changed files with 0 additions and 7 deletions
|
|
@ -409,14 +409,7 @@ static NSArray<NSIndexPath *> *convertSectionReloadToItemUpdates(NSIndexSet *sec
|
|||
|
||||
- (void)_queueUpdateWithCollectionViewBlock:(IGListCollectionViewBlock)collectionViewBlock {
|
||||
IGAssertMainThread();
|
||||
|
||||
// callers may hold weak refs and lose the collection view by the time we requeue, bail if that's the case
|
||||
// if (collectionView == nil) {
|
||||
// return;
|
||||
// }
|
||||
|
||||
__weak __typeof__(self) weakSelf = self;
|
||||
// __weak __typeof__(collectionView) weakCollectionView = collectionView;
|
||||
|
||||
// dispatch after a given amount of time to coalesce other updates and execute as one
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, self.coalescanceTime * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
|
||||
|
|
|
|||
Loading…
Reference in a new issue