|
//
// commentCell.h
// ThePaperHD
//
// Created by scar1900 on 15/1/16.
// Copyright (c) 2015年 scar1900. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TPSelectButton.h"
#import "AsyncImageView.h"
@protocol commentCellDelegate <NSObject>
- (void)hasPraisedComment:(NSIndexPath*)indexPath withCommentBO:(commentObjectVO*)commentBO;
- (void)commentBackForUser:(commentObjectVO*)commentBO;
- (void)deleteCommentSuccess:(NSIndexPath*)indexPath;
- (void)gotoUserInfo:(commentObjectVO*) commentBO;
@end
@interface commentCell : UITableViewCell{
}
@property(nonatomic, strong)commentObjectVO *commentBO;
@property(nonatomic, strong)NSIndexPath *indexPath;
@property(nonatomic, weak)id<commentCellDelegate> delegate;
@property(nonatomic, strong)AsyncImageView *headPicImgView;
@property(nonatomic, strong)UIButton *gotoInfo;
@property(nonatomic, strong)UIImageView *smallIconView;
@property(nonatomic, strong)UIView *lineView;
@property(nonatomic, strong)UILabel *commentNameLabel;
@property(nonatomic, strong)UIButton *commentNameBtn;
@property(nonatomic, strong)UILabel *commentContentLabel;
@property(nonatomic, strong)TPSelectButton *praiseButton;
@property(nonatomic, strong)UILabel *timeLabel;
@property(nonatomic, strong)UIButton *menuButton;
@end
|