What is Gifu?

Gifu adds protocol-based, performance-aware animated GIF support to UIKit.

How It Works?

Gifu does not require using the built-in GIFImageView subclass. The Animator class does the heavy-lifting, while the GIFAnimatable protocol exposes the functionality to the view classes that conform to it, using protocol extensions.

The Animator has a FrameStore that only keeps a limited number of frames in-memory, effectively creating a buffer for the animation without consuming all the available memory. This approach makes loading large GIFs a lot more resource-friendly.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/kaishin/gifu
  • Resource Maker on Twitter: Reda Lemeden
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • iOS Versions Supported: iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
  • CocoaPods: Gifu
  • Carthage: kaishin/Gifu