Class was in wrong #ifdef, thank you @schneider!

This commit is contained in:
Garrett Moon
2016-07-14 14:35:22 -07:00
parent 92e16fb7a6
commit aaea4a4d85

View File

@@ -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