expose relayoutAllNodes at ASCollectionView level (#1683)

* expose relayoutAllNodes at ASCollectionView level

* rename relayoutAllNodes to relayoutItems to be more UIKit centric
This commit is contained in:
Nick Velloff
2016-05-23 23:22:01 -07:00
committed by appleguy
parent 94bb3b79cb
commit d0c30a43ca
4 changed files with 22 additions and 0 deletions

View File

@@ -313,6 +313,11 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
[super reloadData];
}
- (void)relayoutItems
{
[_dataController relayoutAllNodes];
}
- (void)waitUntilAllUpdatesAreCommitted
{
ASDisplayNodeAssertMainThread();