TUIInputMoreCell.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Created by Tencent on 2023/06/09.
  2. // Copyright © 2023 Tencent. All rights reserved.
  3. /**
  4. *
  5. *
  6. * This document declares modules for implementing "more" units.
  7. * More units, that is, the UI interface that appears after clicking the "+" in the lower right corner of the chat interface.
  8. * At present, more units provide four multimedia sending functions of camera, video, picture, and file, and you can also customize it according to your needs.
  9. */
  10. #import <UIKit/UIKit.h>
  11. #import "TUIInputMoreCellData.h"
  12. /////////////////////////////////////////////////////////////////////////////////
  13. //
  14. // TUIInputMoreCell
  15. //
  16. /////////////////////////////////////////////////////////////////////////////////
  17. @interface TUIInputMoreCell : UICollectionViewCell
  18. /**
  19. * The icons corresponding to more cells are obtained from the image of TUIInputMoreCellData.
  20. * The icons of each unit are different, which are used to visually represent the corresponding functions of the unit.
  21. */
  22. @property(nonatomic, strong) UIImageView *image;
  23. /**
  24. * The label corresponding to more cells, the text content of which is obtained from the title of TUIInputMoreCellData.
  25. * The names of each unit are different (such as camera, video, file, album, etc.), which are used to display the corresponding functions of the unit in text
  26. * form below the icon.
  27. */
  28. @property(nonatomic, strong) UILabel *title;
  29. @property(nonatomic, strong) TUIInputMoreCellData *data;
  30. /**
  31. * Whether to disable the default selection behavior encapsulated in TUIKit, such as group live broadcast by default to create live room and other behaviors,
  32. * default: NO
  33. */
  34. @property(nonatomic, assign) BOOL disableDefaultSelectAction;
  35. - (void)fillWithData:(TUIInputMoreCellData *)data;
  36. + (CGSize)getSize;
  37. @end