WMZBannerControl.h 862 B

1234567891011121314151617181920212223242526
  1. //
  2. // WMZBannerControl.h
  3. // WMZBanner
  4. //
  5. // Created by wmz on 2019/9/6.
  6. // Copyright © 2019 wmz. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "WMZBannerParam.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface WMZBannerControl : UIControl
  12. @property (nonatomic, strong) UIImage *currentImage;
  13. @property (nonatomic, strong) UIImage *inactiveImage;
  14. @property (nonatomic, assign) CGSize currentImageSize;
  15. @property (nonatomic, assign) CGSize inactiveImageSize;
  16. @property (nonatomic, assign) NSInteger numberOfPages;
  17. @property (nonatomic, assign) NSInteger currentPage;
  18. @property (nonatomic,strong) UIColor *currentPageIndicatorTintColor;
  19. @property (nonatomic,strong) UIColor *pageIndicatorTintColor;
  20. @property (nonatomic, strong) WMZBannerParam *param;
  21. - (instancetype)initWithFrame:(CGRect)frame WithModel:(WMZBannerParam *)param;
  22. @end
  23. NS_ASSUME_NONNULL_END