react-native-fast-image/ios/FastImage/FFFastImageSource.h

23 lines
526 B
C
Raw Normal View History

2017-04-13 04:13:44 +00:00
#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