Swiftgram/lottie-ios/Classes/Private/LOTCacheProvider.m
panmingyang2009 2ae59bc7e9 Add third party image cache support
LOTCacheProvider allow external developer provide their own cache for Lottie.
2017-08-03 23:33:47 +08:00

24 lines
327 B
Objective-C

//
// LOTCacheProvider.m
// Lottie
//
// Created by punmy on 2017/7/8.
//
//
#import "LOTCacheProvider.h"
@implementation LOTCacheProvider
static id<LOTImageCache> _imageCache;
+ (id<LOTImageCache>)imageCache {
return _imageCache;
}
+ (void)setImageCache:(id<LOTImageCache>)cache {
_imageCache = cache;
}
@end