NIMKitSetting.h 899 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // NIMKitSetting.h
  3. // NIMKit
  4. //
  5. // Created by chris on 2017/10/30.
  6. // Copyright © 2017年 NetEase. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. /**
  10. * 气泡设置
  11. */
  12. @interface NIMKitSetting : NSObject
  13. /**
  14. * 设置消息 Contentview 内间距
  15. */
  16. @property (nonatomic, assign) UIEdgeInsets contentInsets;
  17. /**
  18. * 设置消息 Contentview 的文字颜色
  19. */
  20. @property (nonatomic, strong) UIColor *textColor;
  21. /**
  22. * 设置消息 Contentview 的文字字体
  23. */
  24. @property (nonatomic, strong) UIFont *font;
  25. /**
  26. * 设置消息是否显示头像
  27. */
  28. @property (nonatomic, assign) BOOL showAvatar;
  29. /**
  30. * 设置消息普通模式下的背景图
  31. */
  32. @property (nonatomic, strong) UIImage *normalBackgroundImage;
  33. /**
  34. * 设置消息按压模式下的背景图
  35. */
  36. @property (nonatomic, strong) UIImage *highLightBackgroundImage;
  37. - (instancetype)init:(BOOL)isRight;
  38. @end