-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
Hello. Please make delegate methods of the layout to apple style, for easy manage of multiple collection views.
Delegate mehtods:
- (CGSize) blockSizeForItemAtIndexPath:(NSIndexPath *)indexPath;
- (UIEdgeInsets) insetsForItemAtIndexPath:(NSIndexPath *)indexPath;
i am can not recognize which grid view called them.
So my propose is: - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)layout blockSizeForItemAtIndexPath:(NSIndexPath *)indexPath;
- (UIEdgeInsets) collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)layout insetsForItemAtIndexPath:(NSIndexPath *)indexPath;
It gives elegant access to UICollectionView and its layout. Thanks. Sorry for my English.
Metadata
Metadata
Assignees
Labels
No labels