CGXVerticalMenuIndicatorProtocol.h 872 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // CGXCategoryIndicatorProtocol.h
  3. // CGXVerticalMenuView-OC
  4. //
  5. // Created by CGX on 2018/05/01.
  6. // Copyright © 2019 CGX. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. #import "CGXVerticalMenuIndicatorParamsModel.h"
  11. @protocol CGXCategoryListIndicatorProtocol <NSObject>
  12. /**
  13. categoryView重置状态时调用
  14. param selectedIndex 当前选中的index
  15. param selectedCellFrame 当前选中的cellFrame
  16. @param model 数据模型
  17. */
  18. - (void)listIndicatorRefreshState:(CGXVerticalMenuIndicatorParamsModel *)model;
  19. /**
  20. 选中了某一个cell
  21. param lastSelectedIndex 之前选中的index
  22. param selectedIndex 选中的index
  23. param selectedCellFrame 选中的cellFrame
  24. param selectedType cell被选中类型
  25. @param model 数据模型
  26. */
  27. - (void)listIndicatorSelectedCell:(CGXVerticalMenuIndicatorParamsModel *)model;
  28. @end