ApplicantCell.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // ApplicantCell.h
  3. // BuguLive
  4. //
  5. // Created by 杨仁伟 on 2017/8/8.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "SociatyDetailModel.h"
  10. @class ApplicantCell;
  11. @protocol ApplicantCellDelegate <NSObject>
  12. //拒绝申请(包括退出和加入公会)
  13. - (void)refuseOfSociety:(ApplicantCell *)cell;
  14. //同意申请(包括退出和加入公会)
  15. - (void)agreeOfSociety:(ApplicantCell *)cell;
  16. //观看直播
  17. - (void)viewLiving:(ApplicantCell *)cell;
  18. @end
  19. @interface ApplicantCell : UICollectionViewCell
  20. @property (weak, nonatomic) IBOutlet UIImageView *applicantHeadImg;
  21. @property (weak, nonatomic) IBOutlet UILabel *applicantNickNameLbl;
  22. @property (weak, nonatomic) IBOutlet UIImageView *applicantSexImg;
  23. @property (weak, nonatomic) IBOutlet UIImageView *applicantGradeImg;
  24. @property (weak, nonatomic) IBOutlet UIButton *applicantLivingBtn;
  25. @property (weak, nonatomic) IBOutlet UIButton *applicantRefuseBtn;
  26. @property (weak, nonatomic) IBOutlet UIButton *applicantAgreeBtn;
  27. @property (weak, nonatomic) IBOutlet UILabel *applicantLivingLbl;
  28. @property (nonatomic, weak) id <ApplicantCellDelegate> delegate;
  29. - (void)configCellMsg:(SociatyDetailModel *)model;
  30. @end