UpImageView.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // UpImageView.h
  3. // 乐销
  4. //
  5. // Created by 隋林栋 on 2016/12/28.
  6. // Copyright © 2016年 ping. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "XG_AssetPickerController.h"
  10. //图片选择collection
  11. #import "Collection_Image.h"
  12. //collection cell
  13. #import "CollectionImageCell.h"
  14. //上传的图片
  15. #import "BaseImage.h"
  16. @interface UpImageView : UIView
  17. @property (nonatomic, strong) UIControl *upImageBG;
  18. @property (nonatomic, strong) UIImageView *upImageHead;
  19. @property (nonatomic, strong) UILabel *upImageLabel;
  20. @property (nonatomic, strong) Collection_Image *collection_Image;
  21. @property (nonatomic, strong) NSMutableArray *imgArr;
  22. @property (nonatomic, strong) NSMutableArray<XG_AssetModel *> *assets;
  23. @property (nonatomic, assign) BOOL isCreat;
  24. @property (nonatomic, assign) BOOL isNotShowFileView;
  25. @property (nonatomic, assign) BOOL isNotShowUpImageView;
  26. @property (nonatomic, assign) BOOL isNotShowUpImageTopView;
  27. @property (nonatomic, assign) BOOL isHiddenCollectionNoData;//无数据时隐藏collection
  28. @property (nonatomic, strong) void (^blockResetView)(void);
  29. @property (strong, nonatomic) UILabel *labelTitle;
  30. @property (strong, nonatomic) UILabel *labelName;
  31. @property (strong, nonatomic) UILabel *labelTipc;
  32. @property (strong, nonatomic) UIView *backView;
  33. @property (nonatomic, strong) NSString *imgName;
  34. //创建
  35. - (NSString *)fetchRequestImgString;
  36. - (NSString *)fetchRequestFileString;
  37. //addSubView
  38. - (void)addSubview;
  39. //refresh
  40. - (void)resetView;
  41. //show image
  42. - (void)showImage;
  43. @end