Earlier this year I mentioned a caching library providing easy to implement disk and memory caching.
Here’s a library from Path which they created to solve the performance issues related to scrolling through images in their image rich social networking app called Fast Image Cache. Fast Image Cache provides a cache library with a number of features specific to high performance image display in iOS apps.
There is a demo app included that demonstrates the benefits from using Fast Image Cache showing a large framerate increase.
The benefits of Fast Image Cache as stated in the readme include:
Stores images of similar sizes and styles together
– Persists image data to disk
– Returns images to the user significantly faster than traditional methods
– Automatically manages cache expiry based on recency of usage
– Utilizes a model-based approach for storing and retrieving images
– Allows images to be processed on a per-model basis before being stored into the cache
You can find FastImageCache on Github here.
A nice library helping to solve a common performance issue.
- How To Easily And Accurately Time Objective-C Blocks To See Which Code Performs Better
- Open Source: Lightweight And Fast Regular Expressions Library
- Open Source iOS Library For Automatically Identifying Incorrectly Sized Images
- Open Source Component Providing A Recycling Scroll View With Infinite Scrolling
- iOS Library For Adding High Performance Shadow And Reflect Effects To UIImageViews
Original article: Open Source Library For Faster Performance When Scrolling Through Images
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.