Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - geekaurora/SwiftWebImage: 🚀SwiftUI Image downloader with performant LRU mem/disk cache.
🚀SwiftUI Image downloader with performant LRU mem/disk cache. - geekaurora/SwiftWebImage
Visit SiteGitHub - geekaurora/SwiftWebImage: 🚀SwiftUI Image downloader with performant LRU mem/disk cache.
🚀SwiftUI Image downloader with performant LRU mem/disk cache. - geekaurora/SwiftWebImage
Powered by 0x5a.live 💗
SwiftWebImage
Progressive concurrent image downloader for SwiftUI, with neat API and performant LRU mem/disk cache.
Simple Usage
Just import SwiftWebImage
and set url
for SwiftImage
:
SwiftImage<Image>(imageUrl)
Framework will automatically load Image with @ObservedObject
data once download completes.
How to config ImageView?
Trailing config
closure of SwiftImage
is used for underlying ImageView configuration:
SwiftImage(imageUrl) { imageView in
imageView
.resizable()
.aspectRatio(1, contentMode: .fit)
}
How to import library?
Simply add https://github.com/geekaurora/SwiftWebImage.git
to your Swift Packages
via project settings.
Demo
Swift Resources
are all listed below.
Made with ❤️
to provide different kinds of informations and resources.