No Description

PindanMessageCell.h 858B

1234567891011121314151617181920212223242526272829
  1. //
  2. // PindanMSGTableViewCell.h
  3. // FirstLink
  4. //
  5. // Created by Lemon on 15/4/27.
  6. // Copyright (c) 2015年 FirstLink. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <TTTAttributedLabel.h>
  10. @interface PindanMessageCell : UITableViewCell
  11. @property (nonatomic, strong) UIImageView *photoView;
  12. @property (nonatomic, strong) UIImageView *unreadView;
  13. @property (nonatomic, strong) UILabel *titleLabel;
  14. @property (nonatomic, strong) TTTAttributedLabel *descLabel;
  15. @property (nonatomic, strong) NSLayoutConstraint *descConstraint;
  16. @property (nonatomic, strong) UILabel *timeLabel;
  17. @property (nonatomic, strong) UIButton *detailButton;
  18. + (CGFloat)titleHeightWith:(NSString *)title;
  19. + (CGFloat)cellHeightWith:(NSString*)text isWithTitle:(BOOL)isWithTitle;
  20. - (void)setUnreadViewWith:(NSString*)status;
  21. - (void)layoutWithTitle:(BOOL)isWithTitle;
  22. @end