What is 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

Overview

  • Pricing: Free
  • Resource Link: https://github.com/kean/DFImageManager
  • Resource Maker on Twitter: Alexander Grebenyuk
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Objective-C
  • iOS Versions Supported: iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
  • CocoaPods: DFImageManager
  • Carthage: kean/DFImageManager