CGXVerticalMenuIndicatorParamsModel.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. //
  2. // CGXCategoryIndicatorParamsModel.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 "CGXVerticalMenuViewDefines.h"
  11. /**
  12. 指示器处理逻辑以后会扩展不同的使用场景,会新增参数,如果不通过model传递,就会在api新增参数,一旦修改api该的地方就特别多了,而且会影响到之前自定义实现的开发者。
  13. */
  14. @interface CGXVerticalMenuIndicatorParamsModel : NSObject
  15. @property (nonatomic, assign) BOOL isFirstClick;//是否第一次点击
  16. @property (nonatomic, assign) CGRect backgroundViewMaskFrame; //当前选中的cellFrame
  17. @property (nonatomic, assign) CGRect selectedCellFrame; //当前选中的cellFrame
  18. @property (nonatomic, assign) NSInteger selectedIndex; //当前选中的index
  19. @property (nonatomic, assign) NSInteger lastSelectedIndex; //之前选中的index
  20. @property (nonatomic, assign) CGXCategoryListCellSelectedType selectedType; //cell被选中类型
  21. @property (nonatomic, assign) NSTimeInterval timeDuration;//指示器动画时间
  22. @end