12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //
- // HXPhoto3DTouchViewController.h
- // HXPhotoPickerExample
- //
- // Created by Silence on 2017/9/25.
- // Copyright © 2017年 Silence. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "HXPhotoTools.h"
- #if __has_include(<SDWebImage/UIImageView+WebCache.h>)
- #import <SDWebImage/UIImageView+WebCache.h>
- #import <SDWebImage/SDAnimatedImageView.h>
- #import <SDWebImage/SDAnimatedImageView+WebCache.h>
- #import <SDWebImage/UIImage+GIF.h>
- #elif __has_include("UIImageView+WebCache.h")
- #import "UIImageView+WebCache.h"
- #import "UIImage+GIF.h"
- #import "SDAnimatedImageView.h"
- #import "SDAnimatedImageView+WebCache.h"
- #endif
- #if __has_include(<YYWebImage/YYWebImage.h>)
- #import <YYWebImage/YYWebImage.h>
- #elif __has_include("YYWebImage.h")
- #import "YYWebImage.h"
- #elif __has_include(<YYKit/YYKit.h>)
- #import <YYKit/YYKit.h>
- #elif __has_include("YYKit.h")
- #import "YYKit.h"
- #endif
- @interface HXPhoto3DTouchViewController : UIViewController
- @property (strong, nonatomic) HXPhotoModel *model;
- @property (strong, nonatomic) UIImage *image;
- @property (strong, nonatomic) UIImageView *imageView;
- #if HasSDWebImage
- @property (strong, nonatomic) SDAnimatedImageView *sdImageView;
- #elif HasYYKitOrWebImage
- @property (strong, nonatomic) YYAnimatedImageView *animatedImageView;
- #endif
- @property (strong, nonatomic) NSIndexPath *indexPath;
- @property (copy, nonatomic) NSArray<id<UIPreviewActionItem>> *(^ previewActionItemsBlock)(void);
- @property (copy, nonatomic) void (^downloadImageComplete)(HXPhoto3DTouchViewController *vc, HXPhotoModel *model);
- @end
|