Files
CRBoxInputView/PodCode/Classes/CRBoxFlowLayout.h

32 lines
537 B
C
Raw Permalink Normal View History

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;
2020-06-11 14:09:44 +08:00
/** minLineSpacing
* default: 10
*/
2020-06-11 13:11:18 +08:00
@property (assign, nonatomic) NSInteger minLineSpacing;
2019-01-03 18:03:44 +08:00
- (void)autoCalucateLineSpacing;
@end
NS_ASSUME_NONNULL_END