|
//
// AnswerContentBaseCell.h
// ThePaperBase
//
// Created by zhousan on 15/11/5.
// Copyright © 2015年 scar1900. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TPEmojiLabel.h"
@protocol AnswerContentDelegate <NSObject>
@optional
- (void)gotoCommentWith:(commentObjectVO *)comment;
- (void)gotoCommentWithCommentBO:(commentObjectVO *)comment1 comment2:(commentObjectVO *)comment2;
- (void)deleteCommentSuccess;
- (void)deleteAnswerSuccess;
- (void)praiseHandlerWithIndexPath:(NSIndexPath *)indexPath;
- (void) gotoShare:(commentObjectVO*)comment index:(NSIndexPath*) index;
@end
@interface AnswerContentBaseCell : UITableViewCell {
void(^expandCell)(BOOL isExpand,CGFloat shallHeight);
}
- (void)expandCell:(void(^)(BOOL isExpand,CGFloat cellHeight))block;
@property(nonatomic, strong)commentObjectVO *commentBO;
@property(nonatomic, strong)UIView *backView;
@property(nonatomic, strong)TPEmojiLabel *aswerContentLabel;
@property(nonatomic, strong)UIView *lineView;
@property(nonatomic, strong)UIButton *expandBtn;
@property(nonatomic, assign)CGFloat cellHeight;
@property(nonatomic, strong)UIButton *menuButton;
@property(nonatomic, strong)NSIndexPath *indexPath;
@property(nonatomic, copy)NSString *shouldNoHiddenLine;
@property(nonatomic, assign)BOOL isFirst;
@property(nonatomic, copy)NSString *topicHostId;
@property(nonatomic, weak) id<AnswerContentDelegate> delegate;
- (void)subLayoutSubViews;
- (void)reLayoutSubViews;
@end
|