Extract number of supplementary sections into the inspector

This commit is contained in:
Levi McCallum
2015-09-29 09:14:22 -07:00
committed by Levi McCallum
parent da7a2a5d48
commit 5dee3f62cc
5 changed files with 23 additions and 4 deletions

View File

@@ -18,6 +18,10 @@
return ASSizeRangeMake(CGSizeZero, CGSizeMake(FLT_MAX, FLT_MAX));
}
- (NSUInteger)collectionView:(ASCollectionView *)collectionView numberOfSectionsForSupplementaryKind:(NSString *)kind {
return self.collectionView.numberOfSections;
}
- (NSUInteger)collectionView:(ASCollectionView *)collectionView supplementaryViewsOfKind:(NSString *)kind inSection:(NSUInteger)section
{
NSUInteger count = 0;