热更新demo

askContentCell.h 1.6KB

    // // askContentCell.h // ThePaperDemo // // Created by scar1900 on 14-9-28. // Copyright (c) 2014年 scar1900. All rights reserved. // #import <UIKit/UIKit.h> #import "AsyncImageView.h" @protocol askContentCellDelgate <NSObject> @optional - (void) gotoUserInfo:(commentObjectVO *)comment; - (void) gotoHotAsk:(commentObjectVO *)comment; @end @interface askContentCell : UITableViewCell @property(nonatomic, strong)commentObjectVO *commentBO; @property(nonatomic, strong)UIView *backView; @property(nonatomic, strong)UILabel *askAuthorLabel; //提问者姓名 @property(nonatomic, strong)UILabel *anserNumsLabel; //回答数目显示 @property(nonatomic, strong)RTLabel *askContentLabel; //问题内容 @property(nonatomic, strong)UILabel *timeLabel; @property(nonatomic, weak)id <askContentCellDelgate> askContentCellDelgate; @property(nonatomic, strong)UIImageView *answerIcon; @property(nonatomic, strong)UIImageView *iconBack; @property(nonatomic, strong)UIImageView *verifyTag; @property(nonatomic, strong)UIImageView *commentImg; @property(nonatomic, strong)UIImageView *timeImg; @property(nonatomic, strong)UIButton *UserInfoBtn; @property(nonatomic, strong)UIButton *backBtn; @property(nonatomic, strong)UIImageView *lineView; @property(nonatomic, assign)CGFloat cellHeight; @property(nonatomic, strong)UIButton *attentionBtn; @property(nonatomic, strong)UIButton *menuButton; @property(nonatomic, strong)UILabel *topicNumsLabel; @property(nonatomic, strong)UIButton *replyButton; - (void)subLayoutSubViews; - (void)reLayoutSubViews; - (void)updateUserHeadImage:(userBO*)user; @end