Clean up caching of collection view delegate selectors on the inspector

This commit is contained in:
Levi McCallum
2015-10-21 23:14:54 -07:00
parent 084d60883b
commit e8ce7fcbb2
3 changed files with 12 additions and 7 deletions

View File

@@ -334,7 +334,7 @@ static BOOL _isInterceptedSelector(SEL sel)
_asyncDelegateImplementsInsetSection = ([_asyncDelegate respondsToSelector:@selector(collectionView:layout:insetForSectionAtIndex:)] ? 1 : 0);
}
[_flowLayoutInspector cacheSelectorsForCollectionView:self];
[_layoutInspector didChangeCollectionViewDelegate:asyncDelegate];
}
- (void)setCollectionViewLayout:(UICollectionViewLayout *)collectionViewLayout