TUIGroupPinCell.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // TUIGroupPinCell.h
  3. // TUIChat
  4. //
  5. // Created by Tencent on 2024/05/20.
  6. // Copyright © 2023 Tencent. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <TIMCommon/NSString+TUIEmoji.h>
  10. #import <TIMCommon/TIMCommonModel.h>
  11. #import <TIMCommon/TIMDefine.h>
  12. #import <TUICore/NSDictionary+TUISafe.h>
  13. #import <TUICore/TUICore.h>
  14. #import <TUICore/TUILogin.h>
  15. #import <TIMCommon/TUIBubbleMessageCellData.h>
  16. #import <TIMCommon/TUIMessageCellData.h>
  17. NS_ASSUME_NONNULL_BEGIN
  18. @interface TUIGroupPinCellView : UIView
  19. @property (nonatomic, copy) void(^onClickRemove)(V2TIMMessage *originMessage);
  20. @property (nonatomic, copy) void(^onClickCellView)(V2TIMMessage *originMessage);
  21. @property (nonatomic, strong) TUIMessageCellData *cellData;
  22. @property (nonatomic, strong) UIImageView *leftIcon;
  23. @property (nonatomic, strong) UILabel * titleLabel;
  24. @property (nonatomic, strong) UILabel * content;
  25. @property (nonatomic, strong) UIButton * removeButton;
  26. @property (nonatomic, strong) UIView * multiAnimationView;
  27. @property (nonatomic, strong) UIView * bottomLine;
  28. @property (nonatomic, assign) BOOL isFirstPage;
  29. - (void)fillWithData:(TUIMessageCellData *)cellData;
  30. - (void)hiddenMultiAnimation;
  31. - (void)showMultiAnimation;
  32. @end
  33. @interface TUIGroupPinCell : UITableViewCell
  34. @property (nonatomic,strong) TUIGroupPinCellView* cellView;
  35. - (void)fillWithData:(TUIMessageCellData *)cellData;
  36. @end
  37. NS_ASSUME_NONNULL_END