Swiftpack.co - delneg/Nuke-AVIF-Plugin as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by delneg.
delneg/Nuke-AVIF-Plugin v3.0.0
An AVIF plugin for Nuke
⭐️ 4
🕓 37 weeks ago
iOS macOS
.package(url: "https://github.com/delneg/Nuke-AVIF-Plugin.git", from: "v3.0.0")

Nuke-AVIF-Plugin

A plugin for Nuke to display AVIF images.

Based on https://github.com/ryokosuge/Nuke-WebP-Plugin

Usage

The plugin features a pre-configured Nuke.Manager with AVIF support, and an AVIFImage:

import Nuke
import NukeAVIFPlugin

AVIFImageDecoder.enable()

let imageView = UIImageView()
let avifimageURL = URL(string: "https://example.com/sample.avif")!
Nuke.loadImage(with: url, into: imageView)

Installation

CocoaPods

pod 'Nuke-AVIF-Plugin', :git => 'https://github.com/delneg/Nuke-AVIF-Plugin.git'

Carthage

github 'delneg/Nuke-AVIF-Plugin'

Swift Package Manager

Go to File / Swift Packages / Add Package Dependency… and enter package repository URL https://github.com/delneg/Nuke-AVIF-Plugin.git, then select the latest exact version (0.9.3) at the time of writing.

Minimum Requirements

Swift Xcode iOS macOS tvOS watchOS
5.1, 5.2 11.0 11.0 10.13 11.0 4.0

Dependencies

Nuke libavif
>= 9.0 v0.9.3

License

Nuke-AVIF-Plugin is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 4
Last commit: 37 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Add a release for SPM to be happy, libavif 0.9.3
37 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics