CGXVerticalMenuIndicatorComponentView.m 918 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // CGXHomeCategoryIndicatorComponentView.m
  3. // CGXVerticalMenuView-OC
  4. //
  5. // Created by CGX on 2018/05/01.
  6. // Copyright © 2019 CGX. All rights reserved.
  7. //
  8. #import "CGXVerticalMenuIndicatorComponentView.h"
  9. @implementation CGXVerticalMenuIndicatorComponentView
  10. - (instancetype)initWithFrame:(CGRect)frame
  11. {
  12. self = [super initWithFrame:frame];
  13. if (self) {
  14. [self initializeData];
  15. [self initializeViews];
  16. }
  17. return self;
  18. }
  19. - (instancetype)initWithCoder:(NSCoder *)coder
  20. {
  21. self = [super initWithCoder:coder];
  22. if (self) {
  23. [self initializeData];
  24. [self initializeViews];
  25. }
  26. return self;
  27. }
  28. - (void)initializeData
  29. {
  30. }
  31. - (void)initializeViews
  32. {
  33. }
  34. /*
  35. // Only override drawRect: if you perform custom drawing.
  36. // An empty implementation adversely affects performance during animation.
  37. - (void)drawRect:(CGRect)rect {
  38. // Drawing code
  39. }
  40. */
  41. @end