LBGIFImage icon indicating copy to clipboard operation
LBGIFImage copied to clipboard

This is a small category that creates an animated UIImage out of a gif image.

LBGIFImage

About

LBGIFImage is an easy and efficient way to display animated GIF images. It's based on the ImageIO.framework which makes it fast and lightweight.

Installation

  1. Drag the LBGIFImage folder into your project.
  2. Import the ImageIO.framework.

Example

NSData* data = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"gif"]];
UIImage* image = [UIImage animatedGIFWithData:data];

License

LBGIFImage is licensed under the MIT License.