A lightweight, pure-Swift library for downloading and caching images from the web.
contentConfigure
modifier to KFImage
and related view types under SwiftUI. This allows you returning a non-image view to finish the configuation and display it as the loading result of KFImage
. #2027
cachePathBlock
public so you can also configure it when creating a custom DiskStorage.Config
. #2025 by @zarechnyy_UIImageCGImageContent
when loading GIF files on iOS 15 or later. #2004
DefaultCacheSerializer.preferCacheOriginalData
is set to true
. #1999
data
property in RetrieveImageResult
for reading the original data when an image loading is done. #1986
data
getter in ImageDataProvider
. More async methods are on the way. #1989
KFImage
does not load images when embedded in the SwiftUI List on iOS 16. This only alleviates the problem when shallow embedded. For deeper nested, waiting for Apple's fix. #1988 FB11564208KFImage
should have the same layout behavior as SwiftUI's AsyncImage
while loading. if no placeholder is set, it takes all the proposed size while loading. If a placeholder is set, it propose size to the placeholder and follow placeholder's layout. #1975
EmptyView
as KFImage
placeholder fails loading of the image. #1973 [@damian-rzeszot]ImageProgressive
now contains a delegate onImageUpdated
which will notify you everytime the progressive scanner can decode an intermediate image. You also have a chance to choose an image update strategy to respond the delegate. #1957 @jyounusprogressive
option can work with KingfisherManager
. Previously it only works when set in the view extension methods under kf
. #1961 @onevcatAnimatedImageView
that releasing on another thread. #1956 @ufoskyImageProgressive.onImageUpdated
, the semantic of ImageProgressive.default
is conflicting with the behavior. ImageProgressive.default
is now marked as deprecated. To initilize a default ImageProgressive
, use ImageProgressive.init()
instead.AVAssetImageDataProvider
support tracking transform by default. This could solve some cases that the video thumbnail were not at correct orientation. #1951 @sgarg4008