This commit is contained in:
2025-12-02 18:29:04 +08:00
parent cafde48f4a
commit 8245e7b3d1
32 changed files with 2485 additions and 6 deletions

View File

@@ -0,0 +1,31 @@
//
// 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
/** ifNeedEqualGap
* default: YES
*/
@property (assign, nonatomic) BOOL ifNeedEqualGap;
@property (assign, nonatomic) NSInteger itemNum;
/** minLineSpacing
* default: 10
*/
@property (assign, nonatomic) NSInteger minLineSpacing;
- (void)autoCalucateLineSpacing;
@end
NS_ASSUME_NONNULL_END