Some time ago I mentioned a library adding animated gif support to UIImage’s called OLimageView.
Here is an open source library for handling gif images that builds upon OLImageView called YLGifImage that provides a nice simple way to include animated gifs in your app with decreased memory usage from Yong Li.
In addition to basic animated gif display YLGifImage allows you to pause and play animated gifs, and provides a nice simple example demonstrating the basics.
Here’s an example image from the readme that normally utilizes about 600MB of memory, but with YLGifImage utilizes only 30MB:
You can find YLGIFImage on Github here.
A nice library for displaying animated gifs with low memory usage.
- Open Source UIImageView Extension Providing Proper Support For Animated GIFs
- Tip: How To Bring Up The Memory Browser In Xcode 4
- Animated, Scrollable Open Source iOS Control To Display Lists Of Data In An Elegant Manner
- Tutorial: Beginner Guide To Objective-C Memory Management
- iOS Helper Library For Easier PDF Usage, Creation, And Modification
Original article: Open Source iOS Library For Easily Displaying Animated GIFs With Low Memory Usage
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.