1234567891011121314151617181920212223242526 |
- //
- // HorizontalLayout.h
- // EaseIM
- //
- // Created by 娜塔莎 on 2020/5/7.
- // Copyright © 2020 娜塔莎. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface HorizontalLayout : UICollectionViewFlowLayout
- /** 每行item数量*/
- @property (nonatomic,assign) NSInteger rowCount;
- /** 每列item数量*/
- @property (nonatomic,assign) NSInteger columCount;
- /** item总数*/
- @property (nonatomic,assign) NSInteger itemCountSum;
- - (instancetype)initWithOffset:(CGFloat)xOffset yOffset:(CGFloat)yOffset;
- @end
- NS_ASSUME_NONNULL_END
|