热更新demo

answerContentCell.h 2.3KB

    // // answerContentCell.h // ThePaperDemo // // Created by scar1900 on 14-9-28. // Copyright (c) 2014年 scar1900. All rights reserved. // #import <UIKit/UIKit.h> #import "commentOkButton.h" #import "AsyncImageView.h" @protocol answerContentCellDelegate <NSObject> @optional - (void)hasPraisedAnswer:(NSIndexPath*)indexPath withCommentBO:(commentObjectVO*)commentBO; - (void)gotoCommentWith:(commentObjectVO *)comment; - (void)deleteCommentSuccess; - (void)deleteAnswerSuccess; - (void)gotoUserInfo:(commentObjectVO *)comment; - (void)gotoCommentWithCommentBO:(commentObjectVO *)comment1 comment2:(commentObjectVO *)comment2; @end @interface answerContentCell : UITableViewCell { void(^expandCell)(BOOL isExpand,CGFloat shallHeight); void(^quoBlock)(BOOL isExpand,CGFloat shallHeight); } @property(nonatomic, strong)commentObjectVO *commentBO; - (void)subLayoutSubViews; - (void)reLayoutSubViews; - (void)expandCell:(void(^)(BOOL,CGFloat))block; - (void)quoBlock:(void(^)(BOOL,CGFloat))block; @property(nonatomic, strong)UIView *backView; @property(nonatomic, strong)UILabel *anserNameLabel; //回答者姓名 @property(nonatomic, strong)RTLabel *aswerContentLabel; //回答详情 @property(nonatomic, strong)UIButton *expandBtn; @property(nonatomic, strong)commentOkButton *OkButton; //点赞按钮 @property(nonatomic, strong)UIButton *commentBack; @property(nonatomic, strong)UILabel *quoNameLable; //楼层用户名 @property(nonatomic, strong)RTLabel *quoContentLabel; //楼层内容 @property(nonatomic, strong)UILabel *timeLabel; @property(nonatomic, strong)UIImageView *timeImg; @property(nonatomic, strong)UIImageView *triangleImg; @property(nonatomic, weak)id<answerContentCellDelegate> delegate; @property(nonatomic, strong)NSIndexPath *indexPath; @property(nonatomic, strong)UIButton *menuButton; @property(nonatomic, strong)UIButton *iconButton; @property(nonatomic, strong)UIImageView *iconBack; @property(nonatomic, strong)UIView *lineView; @property(nonatomic, assign)CGFloat quoContentHeight; @property(nonatomic, strong)UIImageView *answerIcon; @property(nonatomic, strong)UIImageView *verifyTag; @property(nonatomic, strong)UILabel *hostLabel; @property(nonatomic, assign)CGFloat cellHeight; @property(nonatomic, strong)UILabel *diandiandianLabel; //@property(nonatomic, strong)UIButton *pushInfo; @end