Skip to content
G

Gifu

High-performance animated GIF support for iOS in Swift

by kaishinFree

#245in Photo & Video
0In stores

Description

Gifu is a Swift library that adds protocol-based, performance-aware animated GIF support to UIKit. You can use its built-in GIFImageView sub…

Highlights

  • Animated GIF support for UIKit in Swift
  • Buffers frames to keep memory use low
  • GIFAnimatable protocol for any view class
  • Built-in GIFImageView subclass
  • Installs with Swift Package Manager

Ratings & Reviews

No ratings yet

Be the first to rate Gifu.

People also visit

A

Agrume

A lemony fresh iOS image viewer written in Swift

Photo & Video
Launch
G

gif.js

Full-featured JavaScript GIF encoder that runs in your browser

Photo & Video
Launch
A

APNG4Android

Android animation support for APNG & Animated WebP & Gif & Animated AVIF

Photo & Video
Launch
A

Animated GIF Gallery Viewer

Open a folder and watch every animated GIF inside it play at once

Entertainment
Launch
A

AnyImageKit

A toolbox for pick/edit/capture photo or video. Written in Swift

Photo & Video
Launch
G

Gifski

Convert videos to high-quality GIFs on your Mac

Photo & Video
Launch

Gifu FAQ

What is Gifu?

A Swift library that adds animated GIF support to UIKit views, with a focus on performance.

Is it free?

The project is public on GitHub. The README does not mention a price.

How do I install it?

Add it to your Package.swift file with Swift Package Manager.

Do I have to subclass a specific view?

No. You can use the built-in GIFImageView, or make your own view conform to the GIFAnimatable protocol.

How does it save memory?

Its frame store keeps only a few frames in memory, loading the current one, buffering the next ones and freeing the others.

Can I stop and restart an animation?

Yes. The protocol exposes start and stop methods, and you can inspect the frame count and the active frame.

Where is the source?

On GitHub at kaishin/Gifu.

What are the best Gifu alternatives?

Popular alternatives to Gifu include Agrume, gif.js and APNG4Android. See all Gifu alternatives

Developer Stuff

Badges