XYPersonalCenterHeaderView.h 682 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // XYPersonalCenterHeaderView.h
  3. // Starbuds
  4. //
  5. // Created by 翟玉磊 on 2019/12/21.
  6. // Copyright © 2019 翟玉磊. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @protocol XYPersonalCenterHeaderViewDelegate <NSObject>
  11. - (void)loginAction;
  12. - (void)vipAction;
  13. /// 点击item的回调
  14. /// @param inex 0粉丝 1关注 2魅力值 3富豪值
  15. - (void)didSelectClickItemWithIndex:(NSInteger)inex;
  16. @end
  17. @interface XYPersonalCenterHeaderView : UITableViewHeaderFooterView<YLConfigureView>
  18. @property (nonatomic, readwrite, weak) id<XYPersonalCenterHeaderViewDelegate>delegate;
  19. - (void)configureViewModel:(id)viewModel;
  20. @end
  21. NS_ASSUME_NONNULL_END