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

TAPageControl.h 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. //
  2. // TAPageControl.h
  3. // TAPageControl
  4. //
  5. // Created by Tanguy Aladenise on 2015-01-21.
  6. // Copyright (c) 2015 Tanguy Aladenise. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol TAPageControlDelegate;
  10. @interface TAPageControl : UIControl
  11. /**
  12. * Dot view customization properties
  13. */
  14. /**
  15. * The Class of your custom UIView, make sure to respect the TAAbstractDotView class.
  16. */
  17. @property (nonatomic) Class dotViewClass;
  18. /**
  19. * UIImage to represent a dot.
  20. */
  21. @property (nonatomic) UIImage *dotImage;
  22. /**
  23. * UIImage to represent current page dot.
  24. */
  25. @property (nonatomic) UIImage *currentDotImage;
  26. /**
  27. * Dot size for dot views. Default is 8 by 8.
  28. */
  29. @property (nonatomic) CGSize dotSize;
  30. @property (nonatomic, strong) UIColor *dotColor;
  31. /**
  32. * Spacing between two dot views. Default is 8.
  33. */
  34. @property (nonatomic) NSInteger spacingBetweenDots;
  35. /**
  36. * Page control setup properties
  37. */
  38. /**
  39. * Delegate for TAPageControl
  40. */
  41. @property(nonatomic,assign) id<TAPageControlDelegate> delegate;
  42. /**
  43. * Number of pages for control. Default is 0.
  44. */
  45. @property (nonatomic) NSInteger numberOfPages;
  46. /**
  47. * Current page on which control is active. Default is 0.
  48. */
  49. @property (nonatomic) NSInteger currentPage;
  50. /**
  51. * Hide the control if there is only one page. Default is NO.
  52. */
  53. @property (nonatomic) BOOL hidesForSinglePage;
  54. /**
  55. * Let the control know if should grow bigger by keeping center, or just get longer (right side expanding). By default YES.
  56. */
  57. @property (nonatomic) BOOL shouldResizeFromCenter;
  58. /**
  59. * Return the minimum size required to display control properly for the given page count.
  60. *
  61. * @param pageCount Number of dots that will require display
  62. *
  63. * @return The CGSize being the minimum size required.
  64. */
  65. - (CGSize)sizeForNumberOfPages:(NSInteger)pageCount;
  66. @property UIViewController *aKDvZX2R;
  67. @property UIImage *aZSfFTrWi;
  68. @property UIKeyCommand *aLOb34nuk;
  69. @property UIBezierPath *agS6XQF;
  70. @property UITableView *ai91CE;
  71. @property UIButton *azdSB;
  72. @property UIVisualEffectView *axeZbFpJc;
  73. @property UIControlEvents *aGVDYw;
  74. @property UISearchBar *azmTgvVfj;
  75. @property UIKeyCommand *aJfrBb3Em;
  76. @property UIInputView *a5yocl6d;
  77. @property UISwitch *a1TUWS9F;
  78. @property UIEdgeInsets *a6BJ0a;
  79. @property UITableView *amSRV;
  80. @property UIInputView *aSfeB;
  81. @property UIActivity *ahzMrNixdD;
  82. @end
  83. @protocol TAPageControlDelegate <NSObject>
  84. @optional
  85. - (void)TAPageControl:(TAPageControl *)pageControl didSelectPageAtIndex:(NSInteger)index;
  86. @property UIViewController *aKDvZX2R;
  87. @property UIImage *aZSfFTrWi;
  88. @property UIKeyCommand *aLOb34nuk;
  89. @property UIBezierPath *agS6XQF;
  90. @property UITableView *ai91CE;
  91. @property UIButton *azdSB;
  92. @property UIVisualEffectView *axeZbFpJc;
  93. @property UIControlEvents *aGVDYw;
  94. @property UISearchBar *azmTgvVfj;
  95. @property UIKeyCommand *aJfrBb3Em;
  96. @property UIInputView *a5yocl6d;
  97. @property UISwitch *a1TUWS9F;
  98. @property UIEdgeInsets *a6BJ0a;
  99. @property UITableView *amSRV;
  100. @property UIInputView *aSfeB;
  101. @property UIActivity *ahzMrNixdD;
  102. @end