2019-01-03 18:03:44 +08:00
|
|
|
//
|
|
|
|
|
// CRBoxFlowLayout.h
|
|
|
|
|
// CaiShenYe
|
|
|
|
|
//
|
|
|
|
|
// Created by Chobits on 2019/1/3.
|
|
|
|
|
// Copyright © 2019 Chobits. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
@interface CRBoxFlowLayout : UICollectionViewFlowLayout
|
|
|
|
|
|
2019-01-09 11:34:31 +08:00
|
|
|
/** ifNeedEqualGap
|
2019-01-03 18:03:44 +08:00
|
|
|
* default: YES
|
|
|
|
|
*/
|
|
|
|
|
@property (assign, nonatomic) BOOL ifNeedEqualGap;
|
|
|
|
|
|
|
|
|
|
@property (assign, nonatomic) NSInteger itemNum;
|
|
|
|
|
|
|
|
|
|
- (void)autoCalucateLineSpacing;
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|