Fix macos build failed

This commit is contained in:
zhongwuzw 2018-11-11 22:16:03 +08:00
parent 3fbb7856e5
commit 62ce1d3b5e
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
#import <UIKit/UIKit.h> #import "SDWebImageCompat.h"
@interface UIImage (CacheMemoryCost) @interface UIImage (CacheMemoryCost)

View File

@ -7,7 +7,6 @@
*/ */
#import "UIImage+CacheMemoryCost.h" #import "UIImage+CacheMemoryCost.h"
#import "SDWebImageCompat.h"
#import "objc/runtime.h" #import "objc/runtime.h"
FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) { FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) {