This repository has been archived by the owner on May 3, 2021. It is now read-only.
DFImageManager 0.7.0
Overview
DFImageManager 0.7.0
brings progressive image decoding support, and puts everything in its right place. It adds a separate stage for image decoding (see new DFImageDecoding
protocol), and narrows role of the DFImageFetching
protocol which is now only responsible for fetching image data (NSData).
Changes
Major
- #46 Add a separate stage for image decoding. Add multiple ways to configure and extend image decoding: add DFImageDecoding protocol, DFImageDecoder class; add decoder to DFImageManagerConfiguration; add dependency injector to set shared decoder.
- #41 Add GIF support for PHAsset. Also includes major changes in DFImageFetching protocol, which is now only responsible for fetching image data (NSData).
- #28 Add progressive image decoding, including progressive JPEG support.
- Remove ALAssetsLibrary support due to the changes to the DFImageFetching protocol that now returns NSData instead of UIImage. It's easy to add you own application-specific ALAssetsLibrary support by either implementing DFImageFetching protocol and fetching NSData (and letting DFImageManager class do all the decoding, processing, caching and preheating), or by implementing DFImageManaging protocol itself.
Minor
- #56 Xcode 7 compatibility
- #54 Add shouldDecompressImages property to DFImageDecoder. Default value is YES.
- #53 Add Carthage support
- #52 Add defaultOptions class method to DFMutableImageRequestOptions which allows user to modify request options on per-application level
- #51 DFImageProcessor makes a decision of weather it should process GIF images, not DFImageManager
- #50 Add removeAllCachedImages to DFImageManaging protocol; Add optional removeAllCachedImages to DFImageFetching protocol
- #49 Add shouldProcessImage:forRequest: method to DFImageProcessing protocol that would allow DFImageManager to skip processing step entirely
- #47 Better signature checks to identify image formats; Add WebP signature check
- Refactor DFImageManagerImageLoader (private class that was introduced in the previous version)
- Improve DFImageView performance (use DFImageTask directly)
- Remove DFNetworkReachability and auto retry from DFImageView