01000010x/SupaImageKit
SwiftUI async image loader + cache for Supabase Storage
Features
- Loads images from Supabase Storage
- Caches images locally
- Shows placeholder while loading
- 100% SwiftUI compatible
Usage
SupabaseImageView(
imageName: image_name_or_path_in_bucket,
bucketName: bucket_name,
client: your_supabase_client_instance,
cacheType: disk_or_memory (.disk or .memory)
) { image in
image
.resizable()
.scaledToFit()
}Missing things
- Image loading error management
- Adapt to use others downloaders (but maybe just use Nuke or KingFisher in this case)
- Add tests
Package Metadata
Repository: 01000010x/SupaImageKit
Stars: 1
Forks: 0
Open issues: 0
Default branch: main
Primary language: swift
License: MIT
README: README.md