Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. FastImageCache

FastImageCache

MITObjective-C1.5.1

An iOS library for fast, smooth image display in scrollable views using memory-mapped image tables.

GitHubGitHub
8.1k stars921 forks0 contributors

What is FastImageCache?

Fast Image Cache is an iOS library that enables fast, smooth display of images in scrollable views like tables and collections. It solves the performance problem of traditional image loading, which can cause dropped frames and janky scrolling, by using memory-mapped image tables and pre-decoded bitmap storage.

Target Audience

iOS developers building graphics-rich applications, such as social networks or photo galleries, where smooth scrolling with many images is critical for user experience.

Value Proposition

Developers choose Fast Image Cache because it provides near-instant image retrieval, maintains 60FPS scrolling, and reduces memory pressure compared to standard UIImage loading, all through a model-based API that integrates cleanly with existing data structures.

Overview

iOS library for quickly displaying images while scrolling

Use Cases

Best For

  • Social networking apps displaying user photos in feeds
  • Photo gallery applications with smooth scrolling thumbnails
  • iOS apps requiring high-performance image loading in UITableView or UICollectionView
  • Applications that need to display many small images without dropping frames
  • Projects where traditional UIImage loading causes scrolling lag
  • Apps that cache processed images (e.g., rounded thumbnails) for reuse

Not Ideal For

  • Applications dealing with large, high-resolution images where disk space is limited
  • Swift-only projects looking for a modern, actively maintained caching library
  • Teams needing a drop-in solution without implementing custom entity protocols
  • Projects where cache persistence across app updates is critical, as image tables are stored in caches directory and can be purged by iOS

Pros & Cons

Pros

Memory-Mapped Performance

Uses mmap to map image tables directly into memory, eliminating buffer copies and reducing real memory usage, as explained in the README's mapped memory section.

Avoids Decompression Overhead

Stores images as uncompressed bitmaps, so expensive JPEG decompression happens only once per image, ensuring fast retrieval for repeated displays.

Core Animation Optimization

Ensures proper byte alignment for images, preventing Core Animation from creating unnecessary copies and maintaining 60FPS scrolling, crucial for smooth UI.

Automatic Cache Management

Manages cache expiry based on recency and replaces least-recently-used images when full, simplifying cache maintenance.

Cons

High Disk Space Usage

Stores images uncompressed, leading to significantly larger cache files compared to compressed formats, which can be a concern for devices with limited storage.

Complex Integration

Requires implementing the FICEntity protocol for each model object and handling image fetching via delegate, adding setup overhead compared to simpler libraries.

Outdated and Unmaintained

Last updated in 2014 with iOS 6+ support, making it potentially incompatible with modern iOS features and Swift projects without additional work.

Frequently Asked Questions

Quick Stats

Stars8,066
Forks921
Contributors0
Open Issues35
Last commit3 years ago
CreatedSince 2013

Tags

#memory-mapping#ios#graphics#objective-c#image-caching#core-animation#mobile-development#swift#performance

Built With

C
Core Graphics
F
Foundation
U
UIKit
i
iOS

Included in

iOS51.7k
Auto-fetched 2 hours ago

Related Projects

GPU ImageGPU Image

An open source iOS framework for GPU-based image and video processing

Stars20,297
Forks4,556
Last commit2 years ago
GPUImage2GPUImage2

GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.

Stars4,942
Forks616
Last commit2 years ago
AlamofireImageAlamofireImage

AlamofireImage is an image component library for Alamofire

Stars4,026
Forks518
Last commit1 month ago
PixelPixel

📷 A composable image editor using Core Image and Metal.

Stars3,654
Forks340
Last commit18 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub