BestReplyView.h 758 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//
//  BestReplyView.h
//  Lighting
//
//  Created by 曹云霄 on 2016/12/13.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol TapClickDelegate <NSObject>

/**
 点击事件

17
 @param isBest true 表示设为最佳   false 表示取消最佳    replyId 回复ID
18
 */
19
- (void)tapClickAction:(BOOL)isBest withReplyId:(NSString *)replyId withIndexPath:(NSIndexPath *)indexPath;
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

@end

@interface BestReplyView : UIView

@property (nonatomic,weak) id<TapClickDelegate>delegate;

/**
 回复ID
 */
@property (nonatomic,copy) NSString *replyId;

/**
 是否最佳回复
 */
@property (nonatomic,assign) BOOL isBest;

37 38 39 40 41
/**
 cell下标
 */
@property (nonatomic,strong) NSIndexPath *indexPath;

42
@end