JXChatGuanZhuCell.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // JXChatGuanZhuCell.h
  3. // shiku_im
  4. //
  5. // Created by 123 on 2020/5/22.
  6. // Copyright © 2020 Reese. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface JXChatGuanZhuCell : UITableViewCell
  11. @property (nonatomic,strong) memberData *model;
  12. @property (nonatomic,weak) UIButton *selectBtn;
  13. + (instancetype)cellWithTableView:(UITableView *)tableView;
  14. @property (nonatomic,weak) UIImageView *headIMG;
  15. @property (nonatomic,copy) NSString *strURL;
  16. - (void)createHeadIMG:(memberData *)menberModel index:(NSIndexPath *)indexPath dictM:(NSMutableArray *)dict attionUserId:(NSMutableArray *)userIdArr;
  17. @end
  18. NS_ASSUME_NONNULL_END
  19. /**
  20. return;
  21. [_dataArrUserIdIndex addObject:dictM];
  22. [_dataArrUserIdIndex enumerateObjectsUsingBlock:^(NSDictionary * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
  23. if ([_dataArrUserId containsObject:obj[@"userId"]]) {
  24. [_dataArrUserId removeObject:obj[@"userId"]];
  25. NSDictionary *dictM=@{@"userId": userID ,@"indexPath":[NSString stringWithFormat:@"%@",indexPath]};
  26. [_dataArrUserIdIndex removeObject:dictM];
  27. }else{
  28. [_dataArrUserId addObject:obj[@"userId"]];
  29. }
  30. }];
  31. */