SupaImageKit

1.0.4

SwiftUI async image loader + cache for Supabase Storage
01000010x/SupaImageKit

What's New

1.0.4

2025-05-05T07:27:19Z

More thread control with UI update with MainActor.run

SupaImageKit

🖼️ SwiftUI async image loader + cache for Supabase Storage for iOS

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

  1. Image loading error management
  2. Adapt to use others downloaders (but maybe just use Nuke or KingFisher in this case)
  3. Add tests

Description

  • Swift Tools 6.1.0
View More Packages from this Author

Dependencies

Last updated: Sun Sep 21 2025 00:00:48 GMT-0900 (Hawaii-Aleutian Daylight Time)