shoujianrenResultViewCell.m 877 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // shoujianrenResultViewCell.m
  3. // smartRhino
  4. //
  5. // Created by taidi on 2020/1/13.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import "shoujianrenResultViewCell.h"
  9. @interface shoujianrenResultViewCell ()
  10. @property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
  11. @property (weak, nonatomic) IBOutlet UILabel *nameLabel;
  12. @end
  13. @implementation shoujianrenResultViewCell
  14. - (void)awakeFromNib {
  15. [super awakeFromNib];
  16. self.iconImageView.layer.cornerRadius = 5;
  17. self.iconImageView.layer.masksToBounds = YES;
  18. }
  19. - (void)bindData:(id)data WithKeyWord:(NSString *)keyWord {
  20. self.iconImageView.image = kUserDefaultHeadImage;
  21. self.nameLabel.text = @"王星";
  22. }
  23. - (void)layoutSubviews {
  24. [super layoutSubviews];
  25. }
  26. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  27. [super setSelected:selected animated:animated];
  28. }
  29. @end