Skip to content

Commit f4dd0c5

Browse files
committed
Bumped version to 0.2.0
Update the readme
1 parent 75ba258 commit f4dd0c5

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

Example/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
PODS:
22
- Expecta (1.0.6)
33
- SDWebImage/Core (5.0.0)
4-
- SDWebImageYYPlugin (0.1.2):
4+
- SDWebImageYYPlugin (0.2.0):
55
- SDWebImage/Core (~> 5.0)
6-
- SDWebImageYYPlugin/YYCache (= 0.1.2)
7-
- SDWebImageYYPlugin/YYImage (= 0.1.2)
8-
- SDWebImageYYPlugin/YYCache (0.1.2):
6+
- SDWebImageYYPlugin/YYCache (= 0.2.0)
7+
- SDWebImageYYPlugin/YYImage (= 0.2.0)
8+
- SDWebImageYYPlugin/YYCache (0.2.0):
99
- SDWebImage/Core (~> 5.0)
1010
- YYCache
11-
- SDWebImageYYPlugin/YYImage (0.1.2):
11+
- SDWebImageYYPlugin/YYImage (0.2.0):
1212
- SDWebImage/Core (~> 5.0)
1313
- YYImage/Core
1414
- YYCache (1.0.4)
@@ -35,7 +35,7 @@ EXTERNAL SOURCES:
3535
SPEC CHECKSUMS:
3636
Expecta: 3b6bd90a64b9a1dcb0b70aa0e10a7f8f631667d5
3737
SDWebImage: 5de80a0302de9e377e62f47d2fa1304efff0e55f
38-
SDWebImageYYPlugin: c1605568e15862da02e4e63793db5c1b35c1416c
38+
SDWebImageYYPlugin: 3398b1f1016cd30d8fdb857226c254a0da8b1a11
3939
YYCache: 8105b6638f5e849296c71f331ff83891a4942952
4040
YYImage: 1e1b62a9997399593e4b9c4ecfbbabbf1d3f3b54
4141

Example/SDWebImageYYPlugin/SDViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ @implementation SDViewController
2121
- (void)viewDidLoad
2222
{
2323
[super viewDidLoad];
24+
// Setup YYCache to default cache
25+
SDWebImageManager.defaultImageCache = [[YYCache alloc] initWithName:@"YYCache"];
26+
2427
[self.view addSubview:self.imageView];
2528

2629
NSURL *url = [NSURL URLWithString:@"http://apng.onevcat.com/assets/elephant.png"];

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ To enable `YYCache` instead of `SDImageCache`, you can bind the cache for shared
5757

5858
```objectivec
5959
// Use `YYCache` for shared manager
60-
SDWebImageManger.defaultImageCache = [YYCache cacheWithName:@"default"];
60+
SDWebImageManger.defaultImageCache = [YYCache cacheWithName:@"name"];
6161
```
6262
6363
+ Swift

SDWebImageYYPlugin.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'SDWebImageYYPlugin'
11-
s.version = '0.1.2'
11+
s.version = '0.2.0'
1212
s.summary = 'A SDWebImage plugin to integrate YYImage & YYCache for image rendering & caching.'
1313

1414
# This description is used to generate tags and improve search results.

SDWebImageYYPlugin/Module/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.1.2</string>
18+
<string>0.2.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>0.1.2</string>
20+
<string>0.2.0</string>
2121
<key>NSPrincipalClass</key>
2222
<string></string>
2323
</dict>

0 commit comments

Comments
 (0)