| 1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // PickerPhoto.h
- // ZLAssetsPickerDemo
- //
- //
- #import <UIKit/UIKit.h>
- #import <AssetsLibrary/AssetsLibrary.h>
- #import "DKPhotoAssets.h"
- @interface DKPhotoPickerBrowserPhoto : NSObject
- /**
- * 自动适配是不是以下几种数据
- */
- @property (nonatomic , strong) id photoObj;
- /**
- * 保存相册模型
- */
- @property (nonatomic , strong) DKPhotoAssets *asset;
- /**
- * URL地址
- */
- @property (nonatomic , strong) NSURL *photoURL;
- /**
- * 原图
- */
- @property (nonatomic , strong) UIImage *photoImage;
- /**
- * 缩略图
- */
- @property (nonatomic , strong) UIImage *thumbImage;
- /**
- * 传入一个图片对象,可以是URL/UIImage/NSString,返回一个实例
- */
- + (instancetype)photoAnyImageObjWith:(id)imageObj;
- @end
|