23 lines
526 B
C
23 lines
526 B
C
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
typedef NS_ENUM(NSInteger, FFFPriority) {
|
||
|
FFFPriorityLow,
|
||
|
FFFPriorityNormal,
|
||
|
FFFPriorityHigh
|
||
|
};
|
||
|
|
||
|
/**
|
||
|
* Object containing an image URL and associated metadata.
|
||
|
*/
|
||
|
@interface FFFastImageSource : NSObject
|
||
|
|
||
|
@property (nonatomic) NSURL* uri;
|
||
|
@property (nonatomic) FFFPriority priority;
|
||
|
@property (nonatomic) NSDictionary *headers;
|
||
|
|
||
|
- (instancetype)initWithURL:(NSURL *)url
|
||
|
priority:(FFFPriority)priority
|
||
|
headers:(NSDictionary *)headers;
|
||
|
|
||
|
@end
|