Earlier this year I mentioned an interesting image caching library called Haneke.
Here’s another interesting open source image caching library with a nice and simple syntax, and queue management called SGImageCache from SeatGeek.
The queuing feature of SGImage allows you to prioritize your image fetching (with a slow and a fast queue for images) so you can pre-fetch images if desired without affecting the main thread. You can also cancel image fetching if desired.
Here’s an example from the readme showing the syntax for fetching an image with the fast queue:
[SGImageCache getImageForURL:url thenDo:^(UIImage *image) {
if (image) {
self.imageView.image = image;
}
}];
You can find SGImageCache on Github here.
A nice library for easy image downloading and caching.
- Awesome Easy To Use Key/Value Store With Automatic Disk And Memory Caching
- A Comparison Of Open Source iOS Image Caching Libraries
- Open Source iOS UIImageView Category Adding Easy Asynchronous Image Downloading
- iOS Library Providing Easy Resource Downloading And Automatic Memory/Disk Caching
- Easy To Use Open Source iOS Concurrent Downloading Library That Uses NSURLConnection
Original article: Open Source iOS Library Providing Easy Image Downloading And Caching With A Priority Queue
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




