You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -14,6 +16,8 @@ By using SDWebImageYYPlugin, you can use all you familiar SDWebImage's loading m
14
16
And you can also use `YYCache` instead of `SDImageCache` for image cache system, which may better memory cache performance (By taking advanced of LRU algorithm), and disk cache performance (By taking advanced of sqlite blob storage)
15
17
16
18
## Usage
19
+
20
+
#### YYImage Plugin
17
21
To load a network image, simply call the View Category method like UIImageView.
18
22
19
23
+ Objective-C
@@ -30,21 +34,41 @@ let imageView: YYAnimatedImageView
You can also use `YYMemoryCache` or `YYDiskcache` to customize memory cache / disk cache only. See [Custom Cache](https://github.com/rs/SDWebImage/wiki/Advanced-Usage#custom-cache-50) wiki in SDWebImage.
SDWebImageYYPlugin is available through [CocoaPods](https://cocoapods.org). To install
58
84
it, simply add the following line to your Podfile:
59
85
@@ -68,6 +94,18 @@ pod 'SDWebImageYYPlugin/YYImage'
68
94
pod 'SDWebImageYYPlugin/YYCache'
69
95
```
70
96
97
+
#### Carthage
98
+
99
+
SDWebImageFLPlugin is available through [Carthage](https://github.com/Carthage/Carthage).
100
+
101
+
```
102
+
github "SDWebImage/SDWebImageYYPlugin"
103
+
```
104
+
105
+
Carthage does not support like CocoaPods' subspec, the built framework will contains both YYCache && YYImage support.
106
+
107
+
Note because of limit of [YYImage Carthage support](https://github.com/ibireme/YYImage#carthage), YYImage plugin with Carthage will not support WebP format. If you want to support WebP format, use CocoaPods instead.
0 commit comments