1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // HomeDetailCommentCell.h
- // TheoryNetwork
- //
- // Created by tederen on 2019/9/27.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import "TDTableViewCell.h"
- NS_ASSUME_NONNULL_BEGIN
- typedef void(^TouchBlock)(void);
- @class CommentModel;
- @class CommentSubModel;
- @protocol HomeDetailCommentCellDelegate <NSObject>
- /// 点赞评论列表并且返回状态
- - (void)didClickZanComment:(CommentModel *)model withStatus:(BOOL)status;
- /// 点击评论赞列表
- - (void)didClickZanComment:(CommentModel *)model;
- /// 点击回复-->楼主评论的
- - (void)didClickRepayComment:(CommentModel *)model;
- /// 点击回复----> 非楼主评论的
- - (void)didClickRepayCommentComment:(CommentSubModel *)model;
- - (void)didClickIconLookup:(CommentModel *)model;
- @end
- @interface HomeDetailCommentCell : TDTableViewCell
- @property (nonatomic, strong) TouchBlock touchAction;
- @property (nonatomic, strong) TouchBlock touchZan;
- @property (nonatomic, weak) id<HomeDetailCommentCellDelegate >delegate;
- - (void)loadCommentData:(CommentModel *)model;
- @end
- NS_ASSUME_NONNULL_END
|