MsgTopPubCell.h 876 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // MsgTopPubCell.h
  3. // YBVideo
  4. //
  5. // Created by YunBao on 2018/7/24.
  6. // Copyright © 2018年 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "MsgTopPubModel.h"
  10. @protocol MsgClickDelegate <NSObject>
  11. -(void)iconClickUid:(NSString *)uid;
  12. -(void)coverClickVideoid:(NSString *)videoid;
  13. @end
  14. @interface MsgTopPubCell : UITableViewCell
  15. @property(nonatomic,assign)id<MsgClickDelegate> delegatge;
  16. @property (weak, nonatomic) IBOutlet UIButton *iconBtn;
  17. @property (weak, nonatomic) IBOutlet UIButton *coverBtn;
  18. @property (weak, nonatomic) IBOutlet UILabel *contentL;
  19. @property (weak, nonatomic) IBOutlet UILabel *timeL;
  20. @property(nonatomic,strong)MsgTopPubModel *model;
  21. - (IBAction)clickIconBtn:(UIButton *)sender;
  22. - (IBAction)clickCoverBtn:(UIButton *)sender;
  23. +(MsgTopPubCell*)cellWithTab:(UITableView *)tableView andIndexPath:(NSIndexPath*)indexPath;
  24. @end