Merge pull request #1766 from hannahmbanana/collectionLayout

[ASCollectionView, ASCellNode] Add support applyLayoutAttributes: on ASCellNode
This commit is contained in:
Michael Schneider
2016-06-23 15:09:10 -07:00
committed by GitHub
3 changed files with 17 additions and 0 deletions

View File

@@ -58,6 +58,11 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
_node.highlighted = highlighted;
}
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
[_node applyLayoutAttributes:layoutAttributes];
}
@end
#pragma mark -