//
//  NvHomeCViewCell.h
//  SDKDemo
//
//  Created by ms20180425 on 2018/11/15.
 //
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

//scrollView用到的model
@interface NvHomeArrayModel : NSObject

@property (nonatomic, strong) UICollectionView *collectionView;   //当前分组的collectionView
@property (nonatomic, assign) BOOL select;
@property (nonatomic, strong) NSMutableArray *array;              //存放当前collectionView的数组NvHomeModel

@end

//UICollectionView用到的model
@interface NvHomeModel : NSObject

@property (nonatomic, strong) NSString *name;        //显示的文字
@property (nonatomic, assign) BOOL select;
@property (nonatomic, strong) NSString *cover;       //封面
@property (nonatomic, strong) NSArray *color;        //渐变颜色数组

@end

@interface NvHomeCViewCell : UICollectionViewCell

- (void)renderCellWithItem:(NvHomeModel *)item;

@end

NS_ASSUME_NONNULL_END
