[ASCollectionView] Finish support for interoperability with base-class UICollectionViewCells.

This also supports supplementary nodes. It builds off of Adlai's .interop flag but makes necessary
improvements for all of the delegate methods to work in practice with heterogenous cell types.
This commit is contained in:
Scott Goodson
2017-02-04 20:38:45 -08:00
parent e2e797be6e
commit f71eba77af
13 changed files with 281 additions and 150 deletions

View File

@@ -39,4 +39,14 @@
return [ASInsetLayoutSpec insetLayoutSpecWithInsets:UIEdgeInsetsZero child:_imageNode];
}
- (void)setImage:(UIImage *)image
{
_imageNode.image = image;
}
- (UIImage *)image
{
return _imageNode.image;
}
@end