Allow ASCollectionView to register for supplementary container

This commit is contained in:
Levi McCallum
2015-09-22 21:03:49 -07:00
committed by Levi McCallum
parent 4e32c075d4
commit 0d2332bd82
3 changed files with 11 additions and 0 deletions

View File

@@ -39,6 +39,9 @@
_collectionView.asyncDelegate = self;
_collectionView.backgroundColor = [UIColor whiteColor];
[_collectionView registerSupplementaryViewOfKind:UICollectionElementKindSectionHeader];
[_collectionView registerSupplementaryViewOfKind:UICollectionElementKindSectionFooter];
return self;
}