-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTestCollectionViewCell.h
More file actions
executable file
·42 lines (28 loc) · 1.02 KB
/
TestCollectionViewCell.h
File metadata and controls
executable file
·42 lines (28 loc) · 1.02 KB
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
//
// TestCollectionViewCell.h
// CollectionCellWithTableView
//
// Created by apple on 16/3/31.
// Copyright © 2016年 kun. All rights reserved.
//
#import <UIKit/UIKit.h>
@class TestCollectionViewCell;
@protocol TestCollectionViewCellDelegate <NSObject>
@optional
/**
* @brief 通知VC开始自下而上的pop动画
*
* @param cell cell
*/
- (void)testCollectionViewCellBeginPopAnimation:(TestCollectionViewCell *)cell;
/** @brief 通知VC要向上偏移的量*/
- (void)testCollectionViewCell:(TestCollectionViewCell *)cell currentOffsetY:(CGFloat)offsetY;
/** @brief 通知VC自己已经完成下载或者下载失败(用以来显示或者取消遮罩层) */
- (void)testCollectionViewCell:(TestCollectionViewCell *)cell finisedDownloadData:(BOOL)isFinished;
//- (void)testCollectionViewCell:(TestCollectionViewCell *)cell
@end
@interface TestCollectionViewCell : UICollectionViewCell
@property (nonatomic, weak) id<TestCollectionViewCellDelegate>mDelegate;
- (void)reloadData;
- (void)begainDownloadData;
@end