22 lines
501 B
Objective-C
22 lines
501 B
Objective-C
/*
|
|
* This file is part of the SDWebImage package.
|
|
* (c) Olivier Poitrey <rs@dailymotion.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/// A protocol represents cancelable operation.
|
|
@protocol SDWebImageOperation <NSObject>
|
|
|
|
- (void)cancel;
|
|
|
|
@end
|
|
|
|
/// NSOperation conform to `SDWebImageOperation`.
|
|
@interface NSOperation (SDWebImageOperation) <SDWebImageOperation>
|
|
|
|
@end
|