V8tr / Asyncimage
Licence: unlicense
Asynchronous Image Loading from URL in SwiftUI
Stars: ✭ 139
Programming Languages
swift
15916 projects
Labels
Projects that are alternatives of or similar to Asyncimage
Maplebacon
🍁🥓 Lightweight and fast Swift library for image downloading, caching and transformations
Stars: ✭ 322 (+131.65%)
Mutual labels: image, uiimageview
ChopChop
Chop an image to as many quadrants as you like at compile time. Great for dynamic content, suitable for games and image processing. Image matrix
Stars: ✭ 14 (-89.93%)
Mutual labels: uiimage, uiimageview
Zoomy
Adds seamless scrollView and instagram like zooming to UIImageViews in any view hierarchy.
Stars: ✭ 130 (-6.47%)
Mutual labels: image, uiimageview
Moa
An image download extension of the image view written in Swift for iOS, tvOS and macOS.
Stars: ✭ 314 (+125.9%)
Mutual labels: image, uiimageview
Tocropviewcontroller
A view controller for iOS that allows users to crop portions of UIImage objects
Stars: ✭ 4,210 (+2928.78%)
Mutual labels: image, uiimage
Ios Imagezoomviewer
ImageZoomViewer is a simple to use Objective C framework that allows the capability of viewing images with zoom-in zoom-out functionality.
Stars: ✭ 14 (-89.93%)
Mutual labels: uiimageview, uiimage
Abmediaview
Media view which subclasses UIImageView, and can display & load images, videos, GIFs, and audio and from the web, and has functionality to minimize from fullscreen, as well as show GIF previews for videos.
Stars: ✭ 79 (-43.17%)
Mutual labels: image, uiimageview
Image Focus
A dependency free utility for cropping images based on a focus point ~2.13kB gzipped
Stars: ✭ 134 (-3.6%)
Mutual labels: image
Mergi
go library for image programming (merge, crop, resize, watermark, animate, ease, transit)
Stars: ✭ 127 (-8.63%)
Mutual labels: image
Vifmimg
Image previews using Überzug for Vifm (vi file manager)
Stars: ✭ 135 (-2.88%)
Mutual labels: image
Image Promise
🎑🤞 Load one or more images, return a promise. Tiny, browser-only, no dependencies.
Stars: ✭ 129 (-7.19%)
Mutual labels: image
Bbwebimage
A high performance Swift library for downloading, caching and editing web images asynchronously.
Stars: ✭ 128 (-7.91%)
Mutual labels: image
Flutter cached network image
Download, cache and show images in a flutter app
Stars: ✭ 1,923 (+1283.45%)
Mutual labels: image
Image Resizer
Resize/Crop/Rotate/Pad images in Clojure without any native install. Oh and do it Fast.
Stars: ✭ 133 (-4.32%)
Mutual labels: image
Article related to this project
AsyncImage
The project demonstrates how to load images asynchronously in SwiftUI.
Usage:
// Image URLs to load
let posters = [
"https://image.tmdb.org/t/p/original/pThyQovXQrw2m0s9x82twj48Jq4.jpg",
"https://image.tmdb.org/t/p/original/vqzNJRH4YyquRiWxCCOH0aXggHI.jpg",
"https://image.tmdb.org/t/p/original/6ApDtO7xaWAfPqfi2IARXIzj8QS.jpg",
"https://image.tmdb.org/t/p/original/7GsM4mtM0worCtIVeiQt28HieeN.jpg"
].map { URL(string: $0)! }
struct ContentView: View {
var body: some View {
List(posters, id: \.self) { url in
AsyncImage(
url: url,
placeholder: { Text("Loading ...") },
image: { Image(uiImage: $0).resizable() }
)
.frame(idealHeight: UIScreen.main.bounds.width / 2 * 3) // 2:3 aspect ratio
}
}
}
Result:
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].