一折买app------返利---------返利宝

SelectView.h 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. //
  2. // SelectView.h
  3. // SelectViewDemo
  4. //
  5. // Created by LanSha on 2017/8/8.
  6. // Copyright © 2017年 LanSha. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class SelectView;
  10. typedef NS_ENUM(NSInteger,ButtonClickType){
  11. ButtonClickTypeNormal = 0,
  12. ButtonClickTypeUp = 1,
  13. ButtonClickTypeDown = 2,
  14. };
  15. @protocol NY_SelectViewDelegate <NSObject>
  16. @optional
  17. //选中最上方的按钮的点击事件
  18. - (void)selectTopButton:(SelectView *)selectView withIndex:(NSInteger)index withButtonType:(ButtonClickType )type;
  19. //确定按钮点击事件
  20. - (void)filtrateViewMakeSureFromValue:(NSString *)fromValue toValue:(NSString *)toValue;
  21. //选中分类中按钮的点击事件
  22. - (void)selectItme:(SelectView *)selectView withIndex:(NSInteger)index;
  23. //仅显示优惠券
  24. - (void)selectItme:(SelectView *)selectView onlyTicketClick:(UIButton *)switchBtn;
  25. @property UIUserInterfaceIdiom *apAFLTgh6O;
  26. @property UIScreen *aykGJzEIg;
  27. @property UIFont *aCNthHDAIB;
  28. @property UIControlEvents *aTMiP5woef;
  29. @property UIDevice *aKYRQkWCia;
  30. @property UIFontWeight *aTPXbF978Q5;
  31. @property UIMotionEffect *a8dPsk7fM;
  32. @property UIFont *apZhbiO;
  33. @property UIFont *a8kpt0dsC;
  34. @property UIKeyCommand *amoPgje;
  35. @property UIViewController *aR5KjsFh2;
  36. @property UIDocument *ahZuwJ;
  37. @property UIViewController *aZBXN;
  38. @property UIBezierPath *aJe9icymP;
  39. @property UIAlertAction *acSnsx;
  40. @property UIApplication *aP8QjH;
  41. @end
  42. @interface SelectView : UIView
  43. @property (nonatomic, weak) id<NY_SelectViewDelegate>delegate;
  44. //默认选中,默认是第一个
  45. @property (nonatomic, assign) int defaultSelectIndex;
  46. //默认选中项,默认是第一个
  47. @property (nonatomic, assign) int defaultSelectItmeIndex;
  48. //设置可选项数组
  49. @property (nonatomic, copy) NSArray *selectItmeArr;
  50. - (instancetype)initWithFrame:(CGRect)frame withArr:(NSArray *)arr;
  51. @property UIUserInterfaceIdiom *apAFLTgh6O;
  52. @property UIScreen *aykGJzEIg;
  53. @property UIFont *aCNthHDAIB;
  54. @property UIControlEvents *aTMiP5woef;
  55. @property UIDevice *aKYRQkWCia;
  56. @property UIFontWeight *aTPXbF978Q5;
  57. @property UIMotionEffect *a8dPsk7fM;
  58. @property UIFont *apZhbiO;
  59. @property UIFont *a8kpt0dsC;
  60. @property UIKeyCommand *amoPgje;
  61. @property UIViewController *aR5KjsFh2;
  62. @property UIDocument *ahZuwJ;
  63. @property UIViewController *aZBXN;
  64. @property UIBezierPath *aJe9icymP;
  65. @property UIAlertAction *acSnsx;
  66. @property UIApplication *aP8QjH;
  67. @end