generators-image-loading
CommunityDrop-in image caching for SwiftUI.
AuthorAutisticAF
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generate a production-ready image loading pipeline with memory cache, disk cache (LRU), request deduplication, and a drop-in CachedAsyncImage SwiftUI view to replace slow, uncached image loading.
Core Features & Use Cases
- Memory caching with NSCache for fast, automatic eviction under memory pressure
- Disk caching with an LRU strategy to persist images across launches
- Request deduplication to ensure a single download for concurrent requests to the same URL
- Optional image processing (resize, thumbnails) and easy integration with SwiftUI lists and grids
- Drop-in replacement for AsyncImage via CachedAsyncImage for production apps
- Built-in tooling and tests to help verify cache behavior in local development
Quick Start
Replace AsyncImage in your SwiftUI views with CachedAsyncImage(url: ..., processing: ...) to enable automatic caching and optional image processing.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: generators-image-loading Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#generators-image-loading Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.