What is AnimatedGIFImageSerialization?

AnimatedGIFImageSerialization decodes an UIImage from Animated GIFs image data, following the API conventions of Foundation’s NSJSONSerialization class.

As it ships with iOS, UIImage does not support decoding animated gifs into an animated UIImage. But so long as ANIMATED_GIF_NO_UIIMAGE_INITIALIZER_SWIZZLING is not #define’d, the this library will swizzle the UIImage initializers to automatically support animated GIFs.

Overview