EMAvatarNameCell.h 769 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // EMAvatarNameCell.h
  3. // ChatDemo-UI3.0
  4. //
  5. // Created by XieYajie on 2019/1/9.
  6. // Copyright © 2019 XieYajie. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @protocol EMAvatarNameCellDelegate;
  11. @interface EMAvatarNameCell : UITableViewCell
  12. @property (nonatomic, weak) id<EMAvatarNameCellDelegate> delegate;
  13. @property (nonatomic, strong) NSIndexPath *indexPath;
  14. @property (nonatomic, strong) UIImageView *avatarView;
  15. @property (nonatomic, strong) UILabel *nameLabel;
  16. @property (nonatomic, strong) UILabel *detailLabel;
  17. @property (nonatomic, strong) UIButton *accessoryButton;
  18. @end
  19. @protocol EMAvatarNameCellDelegate<NSObject>
  20. @optional
  21. - (void)cellAccessoryButtonAction:(EMAvatarNameCell *)aCell;
  22. @end
  23. NS_ASSUME_NONNULL_END