chatpopView.m 1000 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //
  2. // chatpopView.m
  3. // AIIM
  4. //
  5. // Created by gan on 2025/4/9.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "chatpopView.h"
  9. @interface chatpopView()
  10. @end
  11. @implementation chatpopView
  12. - (instancetype)init{
  13. self = [super init];
  14. if (self) {
  15. self.backgroundColor = [UIColor whiteColor];
  16. }
  17. return self;
  18. }
  19. - (IBAction)bt1act:(id)sender {
  20. NSLog(@"bt1act");
  21. if(self.delegate){
  22. [self.delegate actionNote:@"1"];
  23. }
  24. }
  25. - (IBAction)bt2act:(id)sender {
  26. if(self.delegate){
  27. [self.delegate actionNote:@"2"];
  28. }
  29. }
  30. - (IBAction)bt3act:(id)sender {
  31. if(self.delegate){
  32. [self.delegate actionNote:@"3"];
  33. }
  34. }
  35. - (IBAction)bt4act:(id)sender {
  36. if(self.delegate){
  37. [self.delegate actionNote:@"4"];
  38. }
  39. }
  40. - (IBAction)bt5act:(id)sender {
  41. if(self.delegate){
  42. [self.delegate actionNote:@"5"];
  43. }
  44. }
  45. - (IBAction)bt6act:(id)sender {
  46. if(self.delegate){
  47. [self.delegate actionNote:@"6"];
  48. }
  49. }
  50. @end