1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- #import <Foundation/Foundation.h>
- #define MWPHOTO_LOADING_DID_END_NOTIFICATION @"MWPHOTO_LOADING_DID_END_NOTIFICATION"
- #define MWPHOTO_PROGRESS_NOTIFICATION @"MWPHOTO_PROGRESS_NOTIFICATION"
- @protocol MWPhoto <NSObject>
- @required
- @property (nonatomic, strong) UIImage *underlyingImage;
- - (void)loadUnderlyingImageAndNotify;
- - (void)performLoadUnderlyingImageAndNotify;
- - (void)unloadUnderlyingImage;
- @optional
- @property (nonatomic) BOOL emptyImage;
- @property (nonatomic) BOOL isVideo;
- - (void)getVideoURL:(void (^)(NSURL *url))completion;
- - (NSString *)caption;
- - (void)cancelAnyLoading;
- @end
|