The Graphics Interchange Format is a bitmap image format that was introduced by CompuServe in 1987 and has since come into widespread usage on the World Wide Web due to its wide support and portability.


Today we are talking about rendering GIFs 😁

oh right

AnimatedGIFImageSerialization by Mattt Tomphson, is probably the tinies library we’ve seen so far, but boy what awesome results it brings.

How to display GIFs in iOS apps

A simple import AnimatedGIFImageSerialization will allow you to display GIF in your UIImageViews.

imageView.image = UIImage(named: "awesome.gif")

That easy. Classic Mattt.

If you want to find out more about this little great library, and look into how to gcreate an animated GIF and encode it into NSData, head over to the project’s repo on GitHub.

cool story

That’s it for today. See you tomorrow with a forms building library. Subscribe to the email list to avoid missing out.

If you found this post useful and want to support the Advent Calendar please consider sharing it on your favourite social network. Thanks 🎅