Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Library For Easily Displaying Animated GIFs With Low Memory Usage

  •  
  •  
  •  
  •  
  •  

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:

YLGifImage

You can find YLGIFImage on Github here.

A nice library for displaying animated gifs with low memory usage.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments