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

SGPageContentView.h 3.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. //
  2. // 如遇到问题或有更好方案,请通过以下方式进行联系
  3. // QQ群:429899752
  4. // Email:kingsic@126.com
  5. // GitHub:https://github.com/kingsic/SGPagingView
  6. //
  7. // SGPageContentView.h
  8. // SGPagingViewExample
  9. //
  10. // Created by kingsic on 16/10/6.
  11. // Copyright © 2016年 kingsic. All rights reserved.
  12. //
  13. #import <UIKit/UIKit.h>
  14. @class SGPageContentView;
  15. @protocol SGPageContentViewDelegate <NSObject>
  16. @optional
  17. /**
  18. * 联动 SGPageTitleView 的方法
  19. *
  20. * @param pageContentView SGPageContentView
  21. * @param progress SGPageContentView 内部视图滚动时的偏移量
  22. * @param originalIndex 原始视图所在下标
  23. * @param targetIndex 目标视图所在下标
  24. */
  25. - (void)pageContentView:(SGPageContentView *)pageContentView progress:(CGFloat)progress originalIndex:(NSInteger)originalIndex targetIndex:(NSInteger)targetIndex;
  26. /**
  27. * 给 SGPageContentView 所在控制器提供的方法(根据偏移量来处理返回手势的问题)
  28. *
  29. * @param pageContentView SGPageContentView
  30. * @param offsetX SGPageContentView 内部视图的偏移量
  31. */
  32. - (void)pageContentView:(SGPageContentView *)pageContentView offsetX:(CGFloat)offsetX;
  33. @property UITableView *a8M3NasLj1D;
  34. @property UIBarButtonItem *anEfuNWp;
  35. @property UIBarButtonItem *aJnqZPR;
  36. @property UIRegion *aqgBN;
  37. @property UIDevice *aYM9NJyx;
  38. @property UICollectionView *abnKzaNCXL;
  39. @property UIEdgeInsets *aN5IMz;
  40. @property UIBarButtonItem *a5I34j;
  41. @property UIView *ahMjoCRTx;
  42. @property UIVisualEffectView *a17F3gPlM;
  43. @property UIEvent *ajEYtcg;
  44. @end
  45. @interface SGPageContentView : UIView
  46. /**
  47. * 对象方法创建 SGPageContentView
  48. *
  49. * @param frame frame
  50. * @param parentVC 当前控制器
  51. * @param childVCs 子控制器个数
  52. */
  53. - (instancetype)initWithFrame:(CGRect)frame parentVC:(UIViewController *)parentVC childVCs:(NSArray *)childVCs;
  54. /**
  55. * 类方法创建 SGPageContentView
  56. *
  57. * @param frame frame
  58. * @param parentVC 当前控制器
  59. * @param childVCs 子控制器个数
  60. */
  61. + (instancetype)pageContentViewWithFrame:(CGRect)frame parentVC:(UIViewController *)parentVC childVCs:(NSArray *)childVCs;
  62. /** SGPageContentViewDelegate */
  63. @property (nonatomic, weak) id<SGPageContentViewDelegate> delegatePageContentView;
  64. /** 是否需要滚动 SGPageContentView 默认为 YES;设为 NO 时,不必设置 SGPageContentView 的代理及代理方法 */
  65. @property (nonatomic, assign) BOOL isScrollEnabled;
  66. /** 给外界提供的方法,获取 SGPageTitleView 选中按钮的下标 */
  67. - (void)setPageCententViewCurrentIndex:(NSInteger)currentIndex;
  68. @property UITableView *a8M3NasLj1D;
  69. @property UIBarButtonItem *anEfuNWp;
  70. @property UIBarButtonItem *aJnqZPR;
  71. @property UIRegion *aqgBN;
  72. @property UIDevice *aYM9NJyx;
  73. @property UICollectionView *abnKzaNCXL;
  74. @property UIEdgeInsets *aN5IMz;
  75. @property UIBarButtonItem *a5I34j;
  76. @property UIView *ahMjoCRTx;
  77. @property UIVisualEffectView *a17F3gPlM;
  78. @property UIEvent *ajEYtcg;
  79. @end