Flipboard/FLAnimatedImage is tracked by TopGit as an open-source project, with 7.9k stars on GitHub, written primarily in Objective-C. Performant animated GIF engine for iOS
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
FLAnimatedImage is a performant animated GIF engine for iOS:
Plays multiple GIFs simultaneously with a playback speed comparable to desktop browsers
Honors variable frame delays
Behaves gracefully under memory pressure
Eliminates delays or blocking during the first playback loop
Interprets the frame delays of fast GIFs the same way modern browsers do
It's a well-tested component that powers all GIFs in Flipboard. To understand its behavior it comes with an interactive demo:
Who is this for?
Apps that don't support animated GIFs yet
Apps that already support animated GIFs but want a higher performance solution
People who want to tinker with the code (the corresponding blog post is a great place to start; also see the To Do section below)
Installation & Usage
FLAnimatedImage is a well-encapsulated drop-in component. Simply replace your UIImageView instances with instances of FLAnimatedImageView to get animated GIF support. There is no central cache or state to manage.
If using CocoaPods, the quickest way to try it out is to type this on the command line:
$ pod try FLAnimatedImage
To add it to your app, copy the two classes FLAnimatedImage.h/.m and FLAnimatedImageView.h/.m into your Xcode project or add via CocoaPods by adding this to your Podfile:
pod 'FLAnimatedImage', '~> 1.0'
If using Carthage, add the following line into your Cartfile
github "Flipboard/FLAnimatedImage"
If using Swift Package Manager, add the following to your Package.swift or add via XCode:
It's flexible to integrate in your custom image loading stack and backwards compatible to iOS 9.
It uses ARC and the Apple frameworks QuartzCore, ImageIO, MobileCoreServices, and CoreGraphics.
It is capable of fine-grained logging. A block can be set on FLAnimatedImage that's invoked when logging occurs with various log levels via the +setLogBlock:logLevel: method. For example:
// Set up FLAnimatedImage logging.
[FLAnimatedImage setLogBlock:^(NSString *logString, FLLogLevel logLevel) {
// Using NSLog
NSLog(@"%@", logString);
// ...or CocoaLumberjackLogger only logging warnings and errors
if (logLevel == FLLogLevelError) {
DDLogError(@"%@", logString);
} else if (logLevel == FLLogLevelWarn) {
DDLogWarn(@"%@", logString);
}
} logLevel:FLLogLevelWarn];
Since FLAnimatedImage is licensed under MIT, it's compatible with the terms of using it for any app on the App Store.
Release process
Bump version in FLAnimatedImage.podspec, update CHANGES, and commit.
Tag commit with > git tag -a <VERSION> -m "<VERSION>" and > git push --tags.
Submit Podspec to Trunk with > pod trunk push FLAnimatedImage.podspec (ensure you're auth'ed).
To Do
Support other animated image formats such as APNG or WebP (WebP support implemented here)
Integration into network libraries and image caches
Investigate whether FLAnimatedImage should become a UIImage subclass
Smarter buffering
Bring demo app to iPhone
This code has successfully shipped to many people as is, but please do come with your questions, issues and pull requests!
Select apps using FLAnimatedImage
(alphabetically)
Close-up
Design Shots
Dropbox
Dumpert
Ello
Facebook
Flipboard
getGIF
Gifalicious
HashPhotos
Instagram
LiveBooth
lWlVl Festival
Medium
Pinterest
Slack
Telegram
Zip Code Finder
If you're using FLAnimatedImage in your app, please open a PR to add it to this list!
Does Flipboard/FLAnimatedImage have a project website?
No homepage URL was recorded for Flipboard/FLAnimatedImage in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
How many stars does Flipboard/FLAnimatedImage have?
Flipboard/FLAnimatedImage has 7.9k GitHub stars — refresh the page for the live number, or check github.com/Flipboard/FLAnimatedImage. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is Flipboard/FLAnimatedImage open source?
Yes — Flipboard/FLAnimatedImage ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/Flipboard/FLAnimatedImage.
What is Flipboard/FLAnimatedImage?
Flipboard/FLAnimatedImage (Flipboard/FLAnimatedImage) is a Objective-C project on GitHub. From the project's own README: Performant animated GIF engine for iOS
Where do I read more about Flipboard/FLAnimatedImage?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/Flipboard/FLAnimatedImage is the definitive source.
Read full README in the tab above.
Still deciding about FLAnimatedImage?
One click hands the question to an AI along with this page — see what it says about FLAnimatedImage.