HomeButtonView.m 567 B

12345678910111213141516171819202122232425262728
  1. //
  2. // HomeButtonView.m
  3. // KulexiuForStudent
  4. //
  5. // Created by 王智 on 2022/4/21.
  6. //
  7. #import "HomeButtonView.h"
  8. @implementation HomeButtonView
  9. + (instancetype)shareInstance {
  10. HomeButtonView *view = [[[NSBundle mainBundle] loadNibNamed:@"HomeButtonView" owner:nil options:nil] firstObject];
  11. return view;
  12. }
  13. + (CGFloat)getViewHeight {
  14. return 100.0f;
  15. }
  16. /*
  17. // Only override drawRect: if you perform custom drawing.
  18. // An empty implementation adversely affects performance during animation.
  19. - (void)drawRect:(CGRect)rect {
  20. // Drawing code
  21. }
  22. */
  23. @end