DFImageManager

DFImageManager is an advanced framework for loading, caching, processing, displaying and preheating images.

Features:

  • Zero config
  • Works great with both Objective-C and Swift
  • Performant, asynchronous, thread safe

Loading

  • Uses NSURLSession with HTTP/2 support
  • Optional AFNetworking integration, combine the power of both frameworks!
  • Uses a single fetch operation for equivalent requests
  • Intelligent preheating of images close to the viewport

Caching

  • Doesn’t reinvent caching, relies on HTTP cache and its implementation in Foundation
  • Caching is completely transparent to the client
  • Two cache layers, including top level memory cache for decompressed images

Processing

  • Optional FLAnimatedImage integration
  • Optional WebP integration
  • Progressive image decoding including progressive JPEG
  • Background image decompression and scaling in a single step
  • Resize and crop loaded images to fit displayed size, add rounded corners or circle

Advanced

  • Customize different parts of the framework using dependency injection
  • Create and compose image managers into a tree of responsibility

Posted

in

, ,

by

Tags:

Comments

Leave a Reply