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
{{ message }}
This repository was archived by the owner on May 3, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
Advanced iOS framework for loading, caching, processing, displaying and preheating images. It uses latest features in iOS SDK and doesn't reinvent existing technologies. It provides a powerful API that will extend the capabilities of your app.
6
6
7
-
The DFImageManager is not just a loader, it is a pipeline API for managing image requests with an ability to easily plug-in everything that your application might need. It features [multiple subspecs](#install_using_cocopods) that integrate things like [AFNetworking](https://github.com/AFNetworking/AFNetworking) as a networking stack for fetching images, and[FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage) as a performant animated GIF engine, and more.
7
+
The DFImageManager is not just a loader, it is a pipeline for executing image requests using pluggable components. It features [multiple subspecs](#install_using_cocopods) that automatically integrate things like [AFNetworking](https://github.com/AFNetworking/AFNetworking),[FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage) as a performant animated GIF engine, and more.
8
8
9
9
## Features
10
10
@@ -16,24 +16,30 @@ The DFImageManager is not just a loader, it is a pipeline API for managing image
16
16
17
17
##### Loading
18
18
- Uses latest advancements in [Foundation URL Loading System](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html) including [NSURLSession](https://developer.apple.com/library/ios/documentation/Foundation/Reference/NSURLSession_class/) that supports [HTTP/2](https://en.wikipedia.org/wiki/HTTP/2)
19
-
- Has basic built-in networking implementation, and optional [AFNetworking integration](#install_using_cocopods) which should be your primary choice. Combine the power of both frameworks!
20
-
- Show a low-resolution placeholder(s) first and swap to higher-res one when it is loaded
21
-
- Groups similar tasks and never executes them twice
22
-
- Supports progress tracking and cancellation using `NSProgress`
19
+
- Has basic built-in networking implementation, and optional [AFNetworking integration](#install_using_cocopods) (which should be your primary choice). Combine the power of both frameworks!
20
+
- Groups similar requests and never executes them twice
21
+
- Progress tracking using `NSProgress`
23
22
24
23
##### Caching
25
24
- Instead of reinventing a caching methodology it relies on HTTP cache as defined in [HTTP specification](https://tools.ietf.org/html/rfc7234) and caching implementation provided by [Foundation URL Loading System](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html). The caching and revalidation are completely transparent to the client
26
-
-Separate memory cache for decompressed and processed images. Fine grained control over memory cache
25
+
-Two levels of cache, including top level memory cache for decompressed and processed images
27
26
28
-
##### Image Formats
29
-
- Install subspecs to support additional image formats
27
+
##### Decoding and Processing
30
28
- Animated GIF support using best-in-class [FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage) library
31
29
-[WebP](https://developers.google.com/speed/webp/) support
30
+
- Background image decompression
31
+
- Resize and crop loaded images, add rounded corners or circle
32
+
33
+
##### Displaying
34
+
- Use UI components and UIKit categories
35
+
- Automatically retry load if the network load failes
32
36
33
37
##### Advanced
34
38
-[Intelligent preheating](https://github.com/kean/DFImageManager/wiki/Image-Preheating-Guide) of images that are close to the viewport
35
-
-[Compose image managers](https://github.com/kean/DFImageManager/wiki/Extending-Image-Manager-Guide#using-dfcompositeimagemanager) into a tree of responsibility
39
+
-Use `DFCompositeImageTask` to execute and handle multiple image requests. You might show a low-resolution placeholder first and swap to a higher-res one when it is loaded. Or implement some custom [revalidation policies](https://github.com/kean/DFImageManager/wiki/Advanced-Image-Caching-Guide#custom-revalidation-using-dfcompositeimagetask)
36
40
- Customize different parts of the framework using dependency injection
41
+
- Add support for custom image requests by [composing image managers](https://github.com/kean/DFImageManager/wiki/Extending-Image-Manager-Guide#using-dfcompositeimagemanager) into a tree of responsibility
42
+
- Add support for custom image requests using `DFProxyImageManager`
37
43
38
44
## Getting Started
39
45
- Download the latest [release](https://github.com/kean/DFImageManager/releases) version
0 commit comments