mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-03-28 23:58:50 +08:00
Class was in wrong #ifdef, thank you @schneider!
This commit is contained in:
@@ -30,18 +30,6 @@
|
||||
#import <PINCache/PINCache.h>
|
||||
|
||||
#if PIN_ANIMATED_AVAILABLE
|
||||
@interface ASPINRemoteImageManager : PINRemoteImageManager
|
||||
@end
|
||||
|
||||
@implementation ASPINRemoteImageManager
|
||||
|
||||
//Share image cache with sharedImageManager image cache.
|
||||
- (PINCache *)defaultImageCache
|
||||
{
|
||||
return [[PINRemoteImageManager sharedImageManager] cache];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@interface ASPINRemoteImageDownloader () <PINRemoteImageManagerAlternateRepresentationProvider>
|
||||
|
||||
@@ -81,6 +69,19 @@
|
||||
@end
|
||||
#endif
|
||||
|
||||
@interface ASPINRemoteImageManager : PINRemoteImageManager
|
||||
@end
|
||||
|
||||
@implementation ASPINRemoteImageManager
|
||||
|
||||
//Share image cache with sharedImageManager image cache.
|
||||
- (PINCache *)defaultImageCache
|
||||
{
|
||||
return [[PINRemoteImageManager sharedImageManager] cache];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation ASPINRemoteImageDownloader
|
||||
|
||||
+ (instancetype)sharedDownloader
|
||||
|
||||
Reference in New Issue
Block a user