HKClipperHelper.h 743 B

123456789101112131415161718192021222324252627
  1. //
  2. // HKClipperHelper.h
  3. // HKClipperDemo
  4. //
  5. // Created by hukaiyin on 2017/8/8.
  6. // Copyright © 2017年 hukaiyin. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "HKImageClipperViewController.h"
  10. #define ClipperHelper [HKClipperHelper shareManager]
  11. @interface HKClipperHelper : NSObject
  12. + (instancetype)shareManager;
  13. @property (nonatomic, copy) void(^clippedImageHandler)(UIImage *img);
  14. @property (nonatomic, assign) CGSize clippedImgSize;
  15. @property (nonatomic, weak) UINavigationController *nav;
  16. @property (nonatomic, assign) ClipperType clipperType;
  17. @property (nonatomic, assign) BOOL systemEditing;
  18. @property (nonatomic, assign) BOOL isSystemType;
  19. - (void)photoWithSourceType:(UIImagePickerControllerSourceType)type;
  20. @end