Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit a426d99

Browse files
author
Adlai Holler
authored
Remove irritating layout attributes assertions (#2828)
1 parent 0a86a6b commit a426d99

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

AsyncDisplayKitTests/ASCollectionViewTests.mm

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,6 @@ - (ASCellNodeBlock)collectionView:(ASCollectionView *)collectionView nodeBlockFo
9494
};
9595
}
9696

97-
- (void)collectionView:(ASCollectionView *)collectionView willDisplayNode:(ASCellNode *)node forItemAtIndexPath:(NSIndexPath *)indexPath
98-
{
99-
ASDisplayNodeAssertNotNil(node.layoutAttributes, @"Expected layout attributes for node in %@ to be non-nil.", NSStringFromSelector(_cmd));
100-
}
101-
102-
- (void)collectionView:(ASCollectionView *)collectionView didEndDisplayingNode:(ASCellNode *)node forItemAtIndexPath:(NSIndexPath *)indexPath
103-
{
104-
ASDisplayNodeAssertNotNil(node.layoutAttributes, @"Expected layout attributes for node in %@ to be non-nil.", NSStringFromSelector(_cmd));
105-
}
106-
10797
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView {
10898
return _itemCounts.size();
10999
}

0 commit comments

Comments
 (0)