口袋优选

PGIndexBannerSubiew.h 864B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // PGIndexBannerSubiew.h
  3. // NewPagedFlowViewDemo
  4. //
  5. // Created by Mars on 16/6/18.
  6. // Copyright © 2016年 Mars. All rights reserved.
  7. // Designed By PageGuo,
  8. // QQ:799573715
  9. // github:https://github.com/PageGuo/NewPagedFlowView
  10. /******************************
  11. 可以根据自己的需要继承PGIndexBannerSubiew
  12. ******************************/
  13. #import <UIKit/UIKit.h>
  14. @interface PGIndexBannerSubiew : UIView
  15. /**
  16. * 主图
  17. */
  18. @property (nonatomic, strong) UIImageView *mainImageView;
  19. /**
  20. * 用来变色的view
  21. */
  22. @property (nonatomic, strong) UIView *coverView;
  23. @property (nonatomic, copy) void (^didSelectCellBlock)(NSInteger tag, PGIndexBannerSubiew *cell);
  24. /**
  25. 设置子控件frame,继承后要重写
  26. @param superViewBounds <#superViewBounds description#>
  27. */
  28. - (void)setSubviewsWithSuperViewBounds:(CGRect)superViewBounds;
  29. @end