mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Extract number of supplementary sections into the inspector
This commit is contained in:
committed by
Levi McCallum
parent
da7a2a5d48
commit
5dee3f62cc
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user