This repository has been archived by the owner on May 3, 2021. It is now read-only.
DFImageManager 0.4.0
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 toDFImageManaging
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 raisesNSInvalidArgumentException
when there are no registered managers that can handle the request
Minor
- #9
DFImageView
no longer overridescontentMode
set in Interface Builder - #18
DFImageView
no longer implementsDFImageViewDelegate
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 byDFAssetsLibraryImageFetcher
class method DFAssetsLibraryImageFetchOperation
is now a private classDFPhotosKitImageFetchOperation
is now a private classDFImageManagerConfiguration
fetcher property is now readwrite, not readonly (simplifies configuration)- Upgrade playground