口袋优选

XLPlainFlowLayout.h 726B

1234567891011121314151617181920212223242526
  1. //
  2. // XLPlainFlowLayout.h
  3. // XLPlainFlowLayout
  4. //
  5. // Created by hebe on 15/7/30.
  6. // Copyright (c) 2015年 ___ZhangXiaoLiang___. All rights reserved.
  7. //
  8. // 工作邮箱E-mail: k52471@126.com
  9. #import <UIKit/UIKit.h>
  10. @protocol XHCollectionViewDelegateFlowLayout <UICollectionViewDelegateFlowLayout>
  11. - (UIColor *)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout backgroundColorForSection:(NSInteger)section;
  12. @end
  13. @interface XLPlainFlowLayout : UICollectionViewFlowLayout
  14. @property (nonatomic, assign) CGFloat naviHeight;//默认为64.0, default is 64.0
  15. @property (nonatomic, strong) NSMutableArray<UICollectionViewLayoutAttributes *> *decorationViewAttrs;
  16. @end