ForumItemTableViewCell.h 1.27 KB
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10 11 12 13
//
//  ForumItemTableViewCell.h
//  Lighting
//
//  Created by 曹云霄 on 2016/12/8.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ForumItemTableViewCell : UITableViewCell


14 15 16
/**
 帖子标题
 */
曹云霄's avatar
曹云霄 committed
17
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
18

19
/**
20
 发布者名字
21
 */
22
@property (weak, nonatomic) IBOutlet UILabel *userNameLabel;
23

24 25 26
/**
 发布人头像
 */
曹云霄's avatar
曹云霄 committed
27
@property (weak, nonatomic) IBOutlet UIImageView *headerImageView;
28 29 30 31

/**
 内容
 */
曹云霄's avatar
曹云霄 committed
32
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
33 34 35 36

/**
 评论数量
 */
曹云霄's avatar
曹云霄 committed
37
@property (weak, nonatomic) IBOutlet UILabel *commentsNumberLabel;
38

39
/**
40
 帖子创建时间
41
 */
42
@property (weak, nonatomic) IBOutlet UILabel *postCreateTimeLabel;
43

44
/**
45
 背景View
46
 */
47
@property (weak, nonatomic) IBOutlet UIView *contentBackView;
48

49 50 51
/**
 赞数量
 */
曹云霄's avatar
曹云霄 committed
52
@property (weak, nonatomic) IBOutlet UILabel *praiseNumberLabel;
53 54 55 56

/**
 图片背景
 */
曹云霄's avatar
曹云霄 committed
57 58
@property (weak, nonatomic) IBOutlet CustomImageBackView *imageBackView;

59

60
/**
曹云霄's avatar
曹云霄 committed
61 62 63 64 65
 刷新cell

 @param indexPath 下标
 @param topicEntity 实体
 @param delegate 代理
66
 */
曹云霄's avatar
曹云霄 committed
67 68
- (void)refreshCell:(NSIndexPath *)indexPath withTopicEntity:(CustomTOForumTopicEntity *)topicEntity withDelegate:(id<TapClickImageViewDelegate>)delegate;

69

曹云霄's avatar
曹云霄 committed
70
@end