react-native-fast-image/ios/FastImage/FFFastImageSource.m
2018-06-13 23:47:10 -04:00

21 lines
457 B
Objective-C

#import "FFFastImageSource.h"
@implementation FFFastImageSource
- (instancetype)initWithURL:(NSURL *)url
priority:(FFFPriority)priority
headers:(NSDictionary *)headers
cacheControl:(FFFCacheControl)cacheControl
{
self = [super init];
if (self) {
_url = url;
_priority = priority;
_headers = headers;
_cacheControl = cacheControl;
}
return self;
}
@end