From a347abad8908bc23728803696c93e89555f2eb70 Mon Sep 17 00:00:00 2001 From: Alexander Belyavskiy Date: Mon, 3 Oct 2016 09:29:24 +0300 Subject: [PATCH] Fix FLAnimatedImageView+WebCache.m not got compiled Because of missing SD_UIKIT definition. --- SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m b/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m index 827abfd5..04a1c858 100644 --- a/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m +++ b/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m @@ -6,9 +6,9 @@ * file that was distributed with this source code. */ -#if SD_UIKIT - #import "FLAnimatedImageView+WebCache.h" + +#if SD_UIKIT #import "objc/runtime.h" #import "UIView+WebCacheOperation.h" #import "UIView+WebCache.h" @@ -53,9 +53,9 @@ options:options operationKey:nil setImageBlock:^(UIImage *image, NSData *imageData) { - SDImageFormat imageFormat = [NSData sd_imageFormatForImageData:data]; + SDImageFormat imageFormat = [NSData sd_imageFormatForImageData:imageData]; if (imageFormat == SDImageFormatGIF) { - weakSelf.animatedImage = [FLAnimatedImage animatedImageWithGIFData:data]; + weakSelf.animatedImage = [FLAnimatedImage animatedImageWithGIFData:imageData]; weakSelf.image = nil; } else { weakSelf.image = image;