Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

DFImageManager 0.4.0

Compare
Choose a tag to compare
@kean kean released this 09 Aug 07:52
· 323 commits to master since this release

Overview

DFImageManager now works great with Swift thanks to new nullability annotations. Some internals has also changed accordingly. Make sure that the way you use DFImageManager API complies with the new requirements.

Changes

Major

  • #11 Add nullability annotations
  • #13 DFImageManager's memory cache fast path is now completely transparent to the client
  • #17 Add invalidateAndCancel method to DFImageManaging protocol that cancel all outstanding requests and invalidate the image manager (new requests may not be started). DFImageManager internal tasks now hold strong references to the image manager
  • DFCompositeImageManager now raises NSInvalidArgumentException when there are no registered managers that can handle the request

Minor

  • #9 DFImageView no longer overrides contentMode set in Interface Builder
  • #18 DFImageView no longer implements DFImageViewDelegate protocol which makes this protocol available for the clients
  • DFImageContainerView is not longer part of the framework
  • Remove ALAssetsLibrary+DFImageManager category, shared assets library is now exposed by DFAssetsLibraryImageFetcher class method
  • DFAssetsLibraryImageFetchOperation is now a private class
  • DFPhotosKitImageFetchOperation is now a private class
  • DFImageManagerConfiguration fetcher property is now readwrite, not readonly (simplifies configuration)
  • Upgrade playground