Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
yh_sdwebimage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Alexander Belyavskiy
8 years ago
Commit
a347abad8908bc23728803696c93e89555f2eb70
1 parent
d6fa29c8
Fix FLAnimatedImageView+WebCache.m not got compiled
Because of missing SD_UIKIT definition.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m
SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m
View file @
a347aba
...
...
@@ -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
:
d
ata
]
;
SDImageFormat
imageFormat
=
[
NSData
sd_imageFormatForImageData
:
imageD
ata
]
;
if
(
imageFormat
==
SDImageFormatGIF
)
{
weakSelf
.
animatedImage
=
[
FLAnimatedImage
animatedImageWithGIFData
:
d
ata
]
;
weakSelf
.
animatedImage
=
[
FLAnimatedImage
animatedImageWithGIFData
:
imageD
ata
]
;
weakSelf
.
image
=
nil
;
}
else
{
weakSelf
.
image
=
image
;
...
...
Please
register
or
login
to post a comment