增加换肤功能
This commit is contained in:
28
QXLive/HomePage(声播)/View/首页/GKCycleScrollViewCell.h
Normal file
28
QXLive/HomePage(声播)/View/首页/GKCycleScrollViewCell.h
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// GKCycleScrollViewCell.h
|
||||
// GKCycleScrollViewDemo
|
||||
//
|
||||
// Created by QuintGao on 2019/9/15.
|
||||
// Copyright © 2019 QuintGao. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@class GKCycleScrollViewCell;
|
||||
|
||||
typedef void(^cellClickBlock)(NSInteger index);
|
||||
|
||||
@interface GKCycleScrollViewCell : UIView
|
||||
|
||||
/// 图片视图
|
||||
@property (nonatomic, strong) UIImageView *imageView;
|
||||
|
||||
/// 遮罩视图,用于处理透明度渐变
|
||||
@property (nonatomic, strong) UIView *coverView;
|
||||
|
||||
/// cell点击回调
|
||||
@property (nonatomic, copy) cellClickBlock didCellClick;
|
||||
|
||||
- (void)setupCellFrame:(CGRect)frame;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user