TrueLoveButton.m 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. //
  2. // TrueLoveButton.m
  3. // BuguLive
  4. //
  5. // Created by 志刚杨 on 2022/4/26.
  6. // Copyright © 2022 xfg. All rights reserved.
  7. //
  8. #import "TrueLoveButton.h"
  9. @interface TrueLoveButton ()
  10. @property (weak, nonatomic) IBOutlet UILabel *rankLabel;
  11. @end
  12. @implementation TrueLoveButton
  13. #pragma mark - LifeCycle
  14. - (void)dealloc {
  15. [self removeNotificationObserver];
  16. }
  17. - (void)awakeFromNib {
  18. [super awakeFromNib];
  19. self.rankLabel.text = ASLocalizedString(@"排行");
  20. //设置view
  21. [self setupView];
  22. //请求数据
  23. [self requestData];
  24. //设置通知
  25. [self addNotificationObserver];
  26. // self.backgroundColor = [kWhiteColor colorWithAlphaComponent:0.15];
  27. }
  28. #pragma mark - View
  29. - (void)setupView {
  30. }
  31. #pragma mark - Network
  32. - (void)requestData {
  33. }
  34. #pragma mark- Delegate
  35. #pragma mark UITableDatasource & UITableviewDelegate
  36. #pragma mark - Private
  37. #pragma mark - Event
  38. #pragma mark - Public
  39. #pragma mark - NSNotificationCenter
  40. - (void)addNotificationObserver {
  41. }
  42. - (void)removeNotificationObserver {
  43. }
  44. #pragma mark - Setter
  45. #pragma mark - Getter
  46. @end