Skip to content

alimadhoun/ImageCacheKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ImageCacheKit

ImageCacheKit is a lightweight and extensible Swift library for caching images using in-memory and disk-based strategies. It supports asynchronous loading, custom caching strategies, and thread-safe access patterns.

✨ Features

  • βœ… In-Memory Image Caching
  • βœ… Disk-Based Image Caching
  • βœ… Strategy Pattern for Flexible Caching Logic
  • βœ… Thread-Safe Asynchronous Image Loading
  • βœ… Image Preloading & Manual Caching Support
  • βœ… UIKit Example Demonstration
  • βœ… Unit Tests for Core Components

πŸ“¦ Installation

Simply drag and drop the ImageCacheKit folder into your Xcode project.

Swift Package Manager support coming soon.

πŸš€ Getting Started

Basic Usage

let image = await ImageCache.image(for: url, strategy: .memory)

About

ImageCacheKit is a lightweight and extensible Swift library for caching images using in-memory and disk-based strategies. It supports asynchronous loading, custom caching strategies, and thread-safe access patterns.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages