宽窄优行-由【嘉易行】项目成品而来
younger_times
2023-07-05 0d8f5fc8a516bfd07e425909e4a4432600572ee7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
//  EqualSpaceFlowLayoutEvolve.h
//  QuanKeTong
//
//  Created by alvin_y on 2019/9/11.
//  Copyright © 2019 yang-wang. All rights reserved.
//
 
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,AlignType){
    AlignWithLeft,
    AlignWithCenter,
    AlignWithRight
};
NS_ASSUME_NONNULL_BEGIN
 
@interface EqualSpaceFlowLayoutEvolve : UICollectionViewFlowLayout
//两个Cell之间的距离
@property (nonatomic,assign)CGFloat betweenOfCell;
//cell对齐方式
@property (nonatomic,assign)AlignType cellType;
 
-(instancetype)initWthType : (AlignType)cellType;
@end
 
NS_ASSUME_NONNULL_END