wxr
2020-07-06 23c075a9c27946773feccf05abc90489a6bf5203
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
//  HDLCoverFlow.h
//  CoverFlow
//
//  Created by JLCHEN on 2019/8/23.
//  Copyright © 2019 JLCHEN. All rights reserved.
//
 
#import <UIKit/UIKit.h>
 
NS_ASSUME_NONNULL_BEGIN
 
 
@protocol SelectItemDelegate <NSObject>
 
////手指按下,开始点击
//-(void)onStartTrackingTouch;
 
//选中项
-(void)onSelectItem:(NSInteger)mSelectIndex;
 
 
 
@end
 
@interface HDLCoverFlow : UIView
 
#pragma mark SelectItemDelegate
/**
 进度值改变代理事件
 */
@property (nonatomic,weak) id<SelectItemDelegate> mSelectItemDelegate;
 
#pragma mark 对外接口方法
 
/**
 设置view
 
 @param viewsData
 */
-(void)addCoverFlowViewDatas:(NSArray<UIView *> *) viewsData;
 
/**
 设置选中
 
 @param selectIndex
 */
-(void)setCoverFlowSelectIndex:(NSInteger) selectIndex;
 
/**
 重置布局
 
 @param mCGRect 布局
 
 */
-(void)initWithFrameArc:(CGRect) mCGRect;
 
@end
 
NS_ASSUME_NONNULL_END