TUIMediaCollectionCell.m 675 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // TUIMediaCollectionCell.m
  3. // TUIChat
  4. //
  5. // Created by xiangzhang on 2021/11/22.
  6. // Copyright © 2023 Tencent. All rights reserved.
  7. //
  8. #import "TUIMediaCollectionCell.h"
  9. @interface TUIMediaCollectionCell()<V2TIMAdvancedMsgListener>
  10. @end
  11. @implementation TUIMediaCollectionCell
  12. - (id)initWithFrame:(CGRect)frame {
  13. self = [super initWithFrame:frame];
  14. if (self) {
  15. self.backgroundColor = [UIColor clearColor];
  16. [self registerTUIKitNotification];
  17. }
  18. return self;
  19. }
  20. - (void)fillWithData:(TUIMessageCellData *)data {
  21. return;
  22. }
  23. - (void)registerTUIKitNotification {
  24. [[V2TIMManager sharedInstance] addAdvancedMsgListener:self];
  25. }
  26. @end