Description
Agrume is an image viewer library for iOS, written in Swift. It presents one image or a set of images full screen with zoom, and it can load images from remote URLs as well as local images, so you do not need to write the download code yourself. Several presentation options are included. The background can blur the view behind it or use a solid colour, and the zoomed image is dismissed by dragging or flicking it off screen, with an option to use a close button instead. Multiple images can be shown, and a collection view can stay in sync with the zoomed viewer. Animated GIFs are supported through the bundled SwiftyGif library, both as local images and as remote URLs, and Agrume detects the image type itself. A SwiftUI API covers the same presentation flow as the UIKit API, with options for background, dismissal and Live Text. The library requires Swift 5.0, iOS 9.0 or later and Xcode 10.2 or later. It can be added with Swift Package Manager, CocoaPods or Carthage, and the sample project in the repository shows each use case. The source is public on GitHub.…
Highlights
- Zoomable viewer for one image or many
- Loads images from remote URLs
- Animated GIF support via SwiftyGif
- SwiftUI and UIKit APIs
- Install with Swift Package Manager, CocoaPods or Carthage
Ratings & Reviews
No ratings yet
Be the first to rate Agrume.
People also visit
Agrume FAQ
What is Agrume?
An image viewer library for iOS, written in Swift, that shows images full screen with zoom.
Who is it for?
iOS developers who want a ready-made zoomable image viewer instead of building one from scratch.
What does it need?
Swift 5.0, iOS 9.0 or later and Xcode 10.2 or later.
How do I install it?
Add it with Swift Package Manager, CocoaPods or Carthage. The README shows the Podfile and Cartfile lines.
Does it support animated GIFs?
Yes. It bundles SwiftyGif, and remote animated GIFs are supported too.
What are the best Agrume alternatives?
Popular alternatives to Agrume include PhotoBrowser, Gifu and Player. See all Agrume alternatives

