ChatMsgDetailChatCell.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // ChatMsgDetailChatCell.h
  3. // smartRhino
  4. //
  5. // Created by armin on 2019/11/7.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface ChatMsgDetailChatCell : UITableViewCell
  11. @property (strong,nonatomic) IBOutlet UILabel *cell0IntroLabel;
  12. @property (strong,nonatomic) IBOutlet UILabel *cell1ContentLabel;
  13. @property (strong,nonatomic) IBOutlet UIView *cell1ContentBgView;
  14. @property (strong,nonatomic) IBOutlet UIImageView *cell2LeftUserImg;
  15. @property (strong,nonatomic) IBOutlet UIButton *cell2LeftUserBtn;
  16. @property (strong,nonatomic) IBOutlet UIView *cell2LeftContentBgView;
  17. @property (strong,nonatomic) IBOutlet UILabel *cell2LeftContentLabel;
  18. @property (strong,nonatomic) IBOutlet NSLayoutConstraint *cell2ContentBgViewRightW;
  19. @property (strong,nonatomic) IBOutlet UIImageView *cell3RightUserImg;
  20. @property (strong,nonatomic) IBOutlet UIButton *cell3RightUserBtn;
  21. @property (strong,nonatomic) IBOutlet UIView *cell3RightContentBgView;
  22. @property (strong,nonatomic) IBOutlet UILabel *cell3RightContentLabel;
  23. @property (strong,nonatomic) IBOutlet NSLayoutConstraint *cell3ContentBgViewLeftW;
  24. + (CGFloat)configCell0Height;
  25. + (CGFloat)configCell1Height;
  26. + (CGFloat)configCell2HeightWithContent:(NSString *)content;
  27. + (CGFloat)configCell3HeightWithContent:(NSString *)content;
  28. + (ChatMsgDetailChatCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  29. + (ChatMsgDetailChatCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  30. + (ChatMsgDetailChatCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  31. + (ChatMsgDetailChatCell *)configCell3:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  32. @end
  33. NS_ASSUME_NONNULL_END