JXSearchShowCell.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // JXSearchRecordCell.h
  3. // shiku_im
  4. //
  5. // Created by IMAC on 2019/8/27.
  6. // Copyright © 2019 Reese. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger ,JXSearchShowCellStyle){
  10. JXSearchShowCellStyleUser,
  11. JXSearchShowCellStyleRecord,
  12. };
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface JXSearchShowCell : UITableViewCell
  15. @property (nonatomic,assign)JXSearchShowCellStyle cellStyle;
  16. @property (nonatomic,strong)UIImageView *headImgView;
  17. @property (nonatomic,strong)UILabel *aboveLable;
  18. @property (nonatomic,strong)UILabel *belowLable;
  19. @property (nonatomic,strong)UILabel *rightLable;
  20. @property (nonatomic,strong)NSString *headImg;
  21. @property (nonatomic,strong)NSString *aboveText;
  22. @property (nonatomic,strong)NSMutableAttributedString *aboveAttributedText;
  23. @property (nonatomic,strong)NSString *belowText;
  24. @property (nonatomic,strong)NSMutableAttributedString *belowAttributedText;
  25. @property (nonatomic,strong)NSString *rightText;
  26. @property (nonatomic,strong)UIView *selectView;
  27. @property (nonatomic,strong)NSString *searchText;
  28. @property (nonatomic,assign)NSInteger num;
  29. - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier withNewStyle:(JXSearchShowCellStyle)newStyle;
  30. - (void)cutSelectedView;
  31. @end
  32. NS_ASSUME_NONNULL_END