|
@@ -19,15 +19,15 @@ Kingfisher is a lightweight and pure Swift implemented library for downloading a
|
|
|
* Multiple-layer cache. Downloaded images will be cached in both memory and disk. So there is no need to download again and this could boost your app dramatically.
|
|
* Multiple-layer cache. Downloaded images will be cached in both memory and disk. So there is no need to download again and this could boost your app dramatically.
|
|
|
* Cache management. You can set the max duration or size the cache could take. And the cache will also be cleaned automatically to prevent taking too much resource.
|
|
* Cache management. You can set the max duration or size the cache could take. And the cache will also be cleaned automatically to prevent taking too much resource.
|
|
|
* Modern framework. Kingfisher uses `NSURLSession` and the latest technology of GCD, which makes it a strong and swift framework. It also provides you easy APIs to use.
|
|
* Modern framework. Kingfisher uses `NSURLSession` and the latest technology of GCD, which makes it a strong and swift framework. It also provides you easy APIs to use.
|
|
|
-* Cancelable processing task. You can cancel the downloading or image retrieving process if it is not needed anymore.
|
|
|
|
|
|
|
+* Cancelable processing task. You can cancel the downloading process if it is not needed anymore.
|
|
|
* Independent components. You can use the downloader or caching system separately. Or even create your own cache based on Kingfisher's code.
|
|
* Independent components. You can use the downloader or caching system separately. Or even create your own cache based on Kingfisher's code.
|
|
|
* Options to decompress the image in background before rendering it, which could improve the UI performance.
|
|
* Options to decompress the image in background before rendering it, which could improve the UI performance.
|
|
|
-* Categories over `UIImageView`, `UIButton` and `WKInterfaceImage` for setting image from an URL directly.
|
|
|
|
|
|
|
+* Categories over `UIImageView` and `UIButton` for setting image from an URL directly.
|
|
|
|
|
|
|
|
## Requirements
|
|
## Requirements
|
|
|
|
|
|
|
|
-* iOS 8.0+ (iOS 8.2+ for Watch App)
|
|
|
|
|
-* Xcode 6.3 or above
|
|
|
|
|
|
|
+* iOS 8.0+
|
|
|
|
|
+* Xcode 7.0 or above
|
|
|
|
|
|
|
|
## Installation
|
|
## Installation
|
|
|
|
|
|
|
@@ -48,7 +48,7 @@ source 'https://github.com/CocoaPods/Specs.git'
|
|
|
platform :ios, '8.0'
|
|
platform :ios, '8.0'
|
|
|
use_frameworks!
|
|
use_frameworks!
|
|
|
|
|
|
|
|
-pod 'Kingfisher', '~> 1.4'
|
|
|
|
|
|
|
+pod 'Kingfisher', '~> 1.5'
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Then, run the following command:
|
|
Then, run the following command:
|
|
@@ -73,7 +73,7 @@ $ brew install carthage
|
|
|
To integrate Kingfisher into your Xcode project using Carthage, specify it in your `Cartfile`:
|
|
To integrate Kingfisher into your Xcode project using Carthage, specify it in your `Cartfile`:
|
|
|
|
|
|
|
|
```ogdl
|
|
```ogdl
|
|
|
-github "onevcat/Kingfisher" >= 1.4
|
|
|
|
|
|
|
+github "onevcat/Kingfisher" >= 1.5
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Then, run the following command to build the Kingfisher framework:
|
|
Then, run the following command to build the Kingfisher framework:
|