EaseBaseMessageCell.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /************************************************************
  2. * * Hyphenate CONFIDENTIAL
  3. * __________________
  4. * Copyright (C) 2016 Hyphenate Inc. All rights reserved.
  5. *
  6. * NOTICE: All information contained herein is, and remains
  7. * the property of Hyphenate Inc.
  8. * Dissemination of this information or reproduction of this material
  9. * is strictly forbidden unless prior written permission is obtained
  10. * from Hyphenate Inc.
  11. */
  12. #import "EaseMessageCell.h"
  13. extern NSString *const EaseMessageCellIdentifierSendText;
  14. extern NSString *const EaseMessageCellIdentifierSendLocation;
  15. extern NSString *const EaseMessageCellIdentifierSendVoice;
  16. extern NSString *const EaseMessageCellIdentifierSendVideo;
  17. extern NSString *const EaseMessageCellIdentifierSendImage;
  18. extern NSString *const EaseMessageCellIdentifierSendFile;
  19. @interface EaseBaseMessageCell : EaseMessageCell
  20. {
  21. UILabel *_nameLabel;
  22. }
  23. /*
  24. * 头像尺寸大小
  25. */
  26. @property (nonatomic) CGFloat avatarSize UI_APPEARANCE_SELECTOR; //default 30;
  27. /*
  28. * 头像圆角
  29. */
  30. @property (nonatomic) CGFloat avatarCornerRadius UI_APPEARANCE_SELECTOR; //default 0;
  31. /*
  32. * 昵称显示字体
  33. */
  34. @property (nonatomic) UIFont *messageNameFont UI_APPEARANCE_SELECTOR; //default [UIFont systemFontOfSize:10];
  35. /*
  36. * 昵称显示颜色
  37. */
  38. @property (nonatomic) UIColor *messageNameColor UI_APPEARANCE_SELECTOR; //default [UIColor grayColor];
  39. /*
  40. * 昵称显示高度
  41. */
  42. @property (nonatomic) CGFloat messageNameHeight UI_APPEARANCE_SELECTOR; //default 15;
  43. /*
  44. * 昵称是否显示
  45. */
  46. @property (nonatomic) BOOL messageNameIsHidden UI_APPEARANCE_SELECTOR; //default NO;
  47. @end