File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
SDWebImageYYPlugin/Classes/YYImage/YYImageBridge Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
PODS:
2
- - SDWebImage/Core (5.0.0-beta )
2
+ - SDWebImage/Core (5.0.0-beta2 )
3
3
- SDWebImageYYPlugin (0.1.0):
4
4
- SDWebImage/Core (>= 5.0.0-beta)
5
5
- SDWebImageYYPlugin/YYCache (= 0.1.0)
@@ -26,11 +26,11 @@ EXTERNAL SOURCES:
26
26
27
27
CHECKOUT OPTIONS:
28
28
SDWebImage:
29
- :commit: fe2fede60f9c6efcadfac8b90e8cae579656fffb
29
+ :commit: 2bb336bc12a5690dd11988c0bc8bef2c7318508d
30
30
:git:
[email protected] :rs/SDWebImage.git
31
31
32
32
SPEC CHECKSUMS:
33
- SDWebImage: 55c787b164fabe07f2a4d5307f6e1be7960fb9be
33
+ SDWebImage: 8e4aaf5805e954ad426702adf5a8c012a7f581d1
34
34
SDWebImageYYPlugin: 4a756eec055647c989fe9d54f9535780bc0e0465
35
35
YYCache: 8105b6638f5e849296c71f331ff83891a4942952
36
36
YYImage: 1e1b62a9997399593e4b9c4ecfbbabbf1d3f3b54
Original file line number Diff line number Diff line change @@ -11,12 +11,15 @@ @implementation YYImage (SDAddtions)
11
11
12
12
#pragma mark - SDAnimatedImage
13
13
14
- - (instancetype )initWithAnimatedCoder : (id <SDAnimatedImageCoder>)animatedCoder scale : (CGFloat)scale {
15
- // Call `YYImage`'s initializer with animated image data
16
- NSData *data = animatedCoder.animatedImageData ;
14
+ - (instancetype )initWithData : (NSData *)data scale : (CGFloat)scale options : (SDImageCoderOptions *)options {
17
15
return [self initWithData: data scale: scale];
18
16
}
19
17
18
+ - (instancetype )initWithAnimatedCoder : (id <SDAnimatedImageCoder>)animatedCoder scale : (CGFloat)scale {
19
+ // YYImage does not support progressive animation decoding
20
+ return nil ;
21
+ }
22
+
20
23
- (void )preloadAllFrames {
21
24
[self setPreloadAllAnimatedImageFrames: YES ];
22
25
}
You can’t perform that action at this time.
0 commit comments