HeaderView.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // HeaderView.h
  3. // BuguLive
  4. //
  5. // Created by GuoMs on 16/8/5.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "PhotoCollectionViewCell.h"
  10. @protocol AddPhotoDelegate <NSObject>
  11. - (void)handleToTapPhoto:(UITapGestureRecognizer * )tap;
  12. - (void)handleWithGoodsTag:(NSString *)goodsTag;
  13. @end
  14. @interface HeaderView : UIView<UICollectionViewDelegate,UICollectionViewDataSource>
  15. @property (nonatomic ,weak)id <AddPhotoDelegate> delegate;
  16. @property (nonatomic, strong) UICollectionViewFlowLayout *flowLayout;
  17. @property (nonatomic, strong) NSMutableArray *cellcount;
  18. @property (strong, nonatomic) IBOutlet UICollectionView *getPhotoCollection;
  19. @property (strong, nonatomic) IBOutlet UIScrollView *getPhotoScrollow;
  20. @property (strong, nonatomic) IBOutlet UIScrollView *getBtnTypeScrollow;
  21. @property (nonatomic, assign) BOOL isOTOShop;
  22. @property (nonatomic, strong) NSArray * tagsArr;//标签数组
  23. @property (nonatomic, strong) UICollectionView * tagsCollectionView;
  24. - (void)getPicturearr:(NSMutableArray *)arr block:(void (^)())block;
  25. @end