Swiftpack.co - ryokosuge/Nuke-WebP-Plugin as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by ryokosuge.
ryokosuge/Nuke-WebP-Plugin v6.0.1
Support WebP Plugin for Nuke
⭐️ 43
🕓 1 year ago
iOS macOS
.package(url: "https://github.com/ryokosuge/Nuke-WebP-Plugin.git", from: "v6.0.1")

Nuke-WebP-Plugin

Test or Build Version Supoprts Platform

WebP for Nuke that allows you to load and display WebP image. You can see it for yourself in a demo, included in the project.

Usage

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

import Nuke
import NukeWebPPlugin

WebPImageDecoder.enable()

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

Installation

CocoaPods

pod 'Nuke-WebP-Plugin'

Carthage

github 'ryokosuge/Nuke-WebP-Plugin'

Minimum Requirements

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

Dependencies

Nuke libwebp
>= 9.0 v1.0.0

Author

ryokosuge, [email protected]

License

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

GitHub

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

Dependencies

Release Notes

release v6.0.1
1 year ago
  • Update Package.swift to remove warnings in xcode (#53)
    • Special thanks @mcmurrym

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