猎豆优选

LDBannerVewi.h 696B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // LDBannerVewi.h
  3. // YouHuiProject
  4. //
  5. // Created by liuxueli on 2019/2/25.
  6. // Copyright © 2019 kuxuan. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <UIKit/UIKit.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface LDBannerVewi : UIView
  12. /**
  13. * 主图
  14. */
  15. @property (nonatomic, strong) UIImageView *mainImageView;
  16. /**
  17. * 用来变色的view
  18. */
  19. @property (nonatomic, strong) UIView *coverView;
  20. @property (nonatomic, copy) void (^didSelectCellBlock)(NSInteger tag, LDBannerVewi *cell);
  21. /**
  22. 设置子控件frame,继承后要重写
  23. @param superViewBounds <#superViewBounds description#>
  24. */
  25. - (void)setSubviewsWithSuperViewBounds:(CGRect)superViewBounds;
  26. @end
  27. NS_ASSUME_NONNULL_END